sshpass sshpass -p changeme ssh-copy-id ~/.ssh/id_rsa.pub sshuser@host.com References sshpass: An Excellent Tool for Non-Interactive SSH Login – Never Use on Production Server SSH Passwordless Login Using SSH Keygen in 5 Easy Steps Installing SSHPass How to use sshpass? Non-interactive ssh password auth (SourceForge)