Language and Page Formatting Options
14.4.3. Using the sftp Utility
sftputility can be used to open a secure, interactive FTP session. In its design, it is similar to
ftpexcept that it uses a secure, encrypted connection.
To connect to a remote system, use a command in the following form:
For example, to log in to a remote machine named
johnas a user name, type:
sftp email@example.com@penguin.example.com's password: Connected to penguin.example.com. sftp>
After you enter the correct password, you will be presented with a prompt. The
sftputility accepts a set of commands similar to those used by
ftp(see Table 14.3, “A selection of available sftp commands”).
Table 14.3. A selection of available sftp commands
| ||List the content of a remote directory. If none is supplied, a current working directory is used by default.|
| ||Change the remote working directory to directory.|
| ||Create a remote directory.|
| ||Remove a remote directory.|
| ||Transfer localfile to a remote machine.|
| ||Transfer remotefile from a remote machine.|
For a complete list of available commands, see the
sftp(1) manual page.