cc_staff
1,486
edits
(clarify MobaXterm functions) |
No edit summary |
||
Line 82: | Line 82: | ||
|sort -k2 checksum-dtn.log -o checksum-dtn.log | |sort -k2 checksum-dtn.log -o checksum-dtn.log | ||
}} | }} | ||
==SFTP== | |||
[https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol SFTP] (Secure File Transfer Protocol) uses the SSH protocol to transfer files between machines which encrypts data being transferred. | |||
For example you can connect to a remote machine at <code>ADDRESS</code> as user <code>USERNAME</code> with SFTP to transfer files like so: | |||
<source lang="console"> | |||
[name@server]$ sftp USERNAME@ADDRESS | |||
The authenticity of host 'ADDRESS (###.###.###.##)' can't be established. | |||
RSA key fingerprint is ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##. | |||
Are you sure you want to continue connecting (yes/no)? yes | |||
Warning: Permanently added 'ADDRESS,###.###.###.##' (RSA) to the list of known hosts. | |||
USERNAME@ADDRESS's password: | |||
Connected to ADDRESS. | |||
sftp> | |||
</source> | |||
or using an [[SSH Keys|SSH Key]] for authentication using the <code>-i</code> option | |||
<source lang="console"> | |||
[name@server]$ sftp -i /home/name/.ssh/id_rsa USERNAME@ADDRESS | |||
Connected to ADDRESS. | |||
sftp> | |||
</source> | |||
which returns the <code>sftp></code> prompt where commands to transfer files can be issued. To get a list of commands available to use at the sftp prompt enter the <code>help</code> command. | |||
There are also a number of graphical programs available for Windows, Linux and Mac OS, such as [https://winscp.net/eng/index.php WinSCP] and [http://mobaxterm.mobatek.net/ MobaXterm] (Windows), [https://filezilla-project.org filezilla] (Windows,Mac, and Linux), and [https://cyberduck.io/?l=en cyberduck] (Mac and Windows). | |||
[[Category:Connecting]] | |||
<!--T:20--> | <!--T:20--> | ||
[[Category:Connecting]] | [[Category:Connecting]] | ||
</translate> | </translate> |