Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #sshpass allows you to give password in command line beforehand.
  2.  
  3. sshpass -p "Password" scp servername:"/path/file1 /path/file2" /path/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement