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]
Newer Post
Older Post
Home