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 -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

sql - MySQL Custom calculate views -