cs101:sftpfromlinux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cs101:sftpfromlinux [2020/09/03 22:41] – [Getting Help in SFTP] localadmin | cs101:sftpfromlinux [2020/09/08 16:59] (current) – [How to Connect with SFTP] localadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to transfer files between Linux/Mac computers using SFTP from the Command Line ====== | ====== How to transfer files between Linux/Mac computers using SFTP from the Command Line ====== | ||
- | This information is provided for the Ubuntu/ | + | This information is provided for the [[https:// |
Line 7: | Line 7: | ||
===== What Is SFTP? ===== | ===== What Is SFTP? ===== | ||
- | In Linux, you can use the Secure File Transfer Protocol (SSH File Transfer Protocol) (SCP) from the command line (CLI) (the sftp command) to securely copy files and directories between remote hosts. | + | In Linux, you can use the Secure File Transfer Protocol (SSH File Transfer Protocol) (**[[cs101: |
- | In most cases, SFTP is preferable to FTP because of its underlying security features and ability to piggy-back on an SSH connection. FTP is an insecure protocol that should only be used in limited cases or on trusted networks. FTP is NOT available on CS Department computers. | + | In most cases, SFTP is preferable to **[[cs101: |
Line 22: | Line 22: | ||
* Name of the account on the host computer (remote_username) | * Name of the account on the host computer (remote_username) | ||
- | * Hostname (i.e. FQDN) of the computer on which the source file resides (remote_host) | + | * Hostname (i.e. [[cs101: |
Options can include things like [-oPort=custom_port] if not connecting to the standard SSH port 22. | Options can include things like [-oPort=custom_port] if not connecting to the standard SSH port 22. | ||
Line 76: | Line 76: | ||
+ | ==== Quitting SFTP ==== | ||
+ | To quit a SFTP session use the exit command | ||
+ | exit | ||
===== Getting Help in SFTP ===== | ===== Getting Help in SFTP ===== | ||
SFTP has a help command. This gives you access to a summary of the SFTP help. You can call it by typing either of these in the prompt: | SFTP has a help command. This gives you access to a summary of the SFTP help. You can call it by typing either of these in the prompt: | ||
Line 85: | Line 87: | ||
This will display a list of the available commands: | This will display a list of the available commands: | ||
+ | |||
+ | You can find more information on Ubuntu SFTP in the [[http:// |
cs101/sftpfromlinux.1599190897.txt.gz · Last modified: 2020/09/03 22:41 by localadmin