sshpass and scp code example Example: sshpass example scp sshpass -p 'password' scp file.tar.gz [email protected]:/backup