linux - scp command with username and password on CLI -
i know if there way scp username , password cli single liner - password not prompted.
i not want use sshpass (that did not work on scientific linux anyway - no such package) -
has tried it?
thanks!
you can use key pair ssh.
scp -i [path 2 private key] [source] [destination]
Comments
Post a Comment