technote:sftp
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technote:sftp [2019/04/19 22:26] – Gerard Nicol | technote:sftp [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Linux ===== | ===== Linux ===== | ||
| + | |||
| + | ==== Using TMSS10SFTP ==== | ||
| + | |||
| + | The '' | ||
| + | |||
| + | This program provides more automation that the native '' | ||
| + | |||
| + | This comes in handy when downloading files from Iron Mountain as they only provide time-stamped files requiring the user to know the name of the file to be downloaded in advance. | ||
| + | |||
| + | Documentation for '' | ||
| + | ==== Using sshpass and sftp ==== | ||
| The Linux '' | The Linux '' | ||
| - | <sxh bash;> | + | <code text;> |
| - | yum install sshpass | + | [root@corp-01 ~]# yum install sshpass |
| - | </sxh> | + | Last metadata expiration check: 0:04:14 ago on Fri 19 Apr 2019 04:22:49 PM MDT. |
| + | Dependencies resolved. | ||
| + | ========================================================================================================================================================================================================================================= | ||
| + | | ||
| + | ========================================================================================================================================================================================================================================= | ||
| + | Installing: | ||
| + | | ||
| + | |||
| + | Transaction Summary | ||
| + | ========================================================================================================================================================================================================================================= | ||
| + | Install | ||
| + | |||
| + | Total download size: 26 k | ||
| + | Installed size: 38 k | ||
| + | Is this ok [y/N]: y | ||
| + | Downloading Packages: | ||
| + | sshpass-1.06-4.fc27.x86_64.rpm | ||
| + | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ||
| + | Total 196 kB/s | 26 kB | ||
| + | Running transaction check | ||
| + | Transaction check succeeded. | ||
| + | Running transaction test | ||
| + | Transaction test succeeded. | ||
| + | Running transaction | ||
| + | Preparing | ||
| + | Installing | ||
| + | Running scriptlet: sshpass-1.06-4.fc27.x86_64 | ||
| + | Verifying | ||
| + | |||
| + | Installed: | ||
| + | sshpass.x86_64 1.06-4.fc27 | ||
| + | |||
| + | Complete! | ||
| + | </code> | ||
| + | |||
| + | Once '' | ||
| + | |||
| + | <note tip>To specify multiple command strings you can either pass a file fill of commands, or you can use the bash here-string syntax.</ | ||
| + | |||
| + | |||
| + | <code text;> | ||
| + | [root@corp-01 ~]# sshpass -p " | ||
| + | Connected to server.tapetrack.com. | ||
| + | sftp> put drm.csv upload/ | ||
| + | </ | ||
| + | |||
| + | ===== Windows ===== | ||
| + | Windows users wanting to send files via SFTP can use the '' | ||
| - | <sxh bash;> | ||
| - | sshpass -p " | ||
| - | </ | ||
| + | {{tag> | ||
technote/sftp.1555712816.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
