technote:sftp
This is an old revision of the document!
Transferring files via SFTP
Linux
The Linux sftp
command does not provide an argument to specify a password. If you do not want to configure keys for the transfer, you can install the sshpass
program.
yum install sshpass
sshpass -p "password" sftp -v user@server.tapetrack.com <<< $'cd upload\n put drm.csv\n ls -al'
technote/sftp.1555712816.txt.gz · Last modified: 2025/01/21 22:07 (external edit)