SSHFileTransferProtocol: Difference between revisions
No edit summary |
No edit summary |
||
(20 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
SSH File Transfer Protocol ([http://en.wikipedia.org/wiki/SSH_file_transfer_protocol SFTP]) is a network protocol used to securely transfer and manage files on remote systems. SFTP is layered on top of the [[SSH]] protocol, and is preferred over [[FTP]] as a method of remote file transfer. | SSH File Transfer Protocol ([http://en.wikipedia.org/wiki/SSH_file_transfer_protocol SFTP]) is a network protocol used to securely transfer and manage files on remote systems. SFTP is layered on top of the [[SSH]] protocol, and is preferred over [[FTP]] as a method of remote file transfer. | ||
'''Warning:''' running interactive programs in your shell initialization files, such as starting another shell, causes SFTP to fail. See [[Shell]] on how to correctly change the shell you are using. | |||
==Connecting to an SFTP Server== | ==Connecting to an SFTP Server== | ||
Under | Under [[RHEL | Red Hat Enterprise Linux (RHEL)]], [[Ubuntu]], and macOS, the following command from a terminal will connect a client computer to a remote host. | ||
<pre>sftp bkirz@$HOSTNAME.umiacs.umd.edu </pre> | |||
Replace $HOSTNAME with the name of the host you are trying to connect. | |||
For UMIACS-supported Windows hosts, a SFTP client is already installed. For other hosts, you can download and install the same client installed there ([https://winscp.net/eng/download.php WinSCP]), which will enable SSH and SFTP access. | |||
==Further Information== | ==Further Information== | ||
More information about SFTP can be found at [http://www.openssh.org/ http://www.openssh.org/]. | More information about SFTP can be found at [http://www.openssh.org/ http://www.openssh.org/]. |
Latest revision as of 16:15, 25 October 2024
SSH File Transfer Protocol (SFTP) is a network protocol used to securely transfer and manage files on remote systems. SFTP is layered on top of the SSH protocol, and is preferred over FTP as a method of remote file transfer.
Warning: running interactive programs in your shell initialization files, such as starting another shell, causes SFTP to fail. See Shell on how to correctly change the shell you are using.
Connecting to an SFTP Server
Under Red Hat Enterprise Linux (RHEL), Ubuntu, and macOS, the following command from a terminal will connect a client computer to a remote host.
sftp bkirz@$HOSTNAME.umiacs.umd.edu
Replace $HOSTNAME with the name of the host you are trying to connect.
For UMIACS-supported Windows hosts, a SFTP client is already installed. For other hosts, you can download and install the same client installed there (WinSCP), which will enable SSH and SFTP access.
Further Information
More information about SFTP can be found at http://www.openssh.org/.