How to pass password to scp command Posted byProsoxi.com Webmaster November 9, 2015 Use sshpass: sshpass -p "password" scp -r user@example.com:/some/remote/path /some/local/path