TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


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.

<sxh bash;> yum install sshpass </sxh>

<sxh bash;> sshpass -p “password” sftp -v user@server.tapetrack.com «< $'cd upload\n put drm.csv\n ls -al' </sxh>

technote/sftp.1555712816.txt.gz · Last modified: 2025/01/21 22:07 (external edit)