scp -r with password to ssh 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