How to use password in scp?
We can use sshpass to give the password when using scp to transferring files from server to local.
sshpass -p [yourpassword] scp -r [username]@[address]:[pathinserver] [localpath]
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment