OpenSSH-clients SFTP
Jump to navigation
Jump to search
Without Keys
Raymond James doesn't like to use public keys for SFTP (they also don't like limiting access to specific IPs and or using strong passwords, but I digress).
If you need to automate getting files via SFTP using the OpenSSH client, you have to disable batch mode so you can use batch mode with sshpass
sshpass -p<password> sftp -oBatchMode=no -b batchfile username@serveraddress