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

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -