bash pass password to scp code example
Example: linux scp with password
sshpass -p "password" scp -r [email protected]:/some/remote/path /some/local/path
sshpass -p "password" scp -r [email protected]:/some/remote/path /some/local/path