Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #sshpass allows you to give password in command line beforehand.
- sshpass -p "Password" scp servername:"/path/file1 /path/file2" /path/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement