sftp
sfto
# To connect to the remote host `example.com` as the user `username`:
sftp username@example.com
# To connect to the remote host `example.com` on port 2222:
sftp -p 2222 username@example.com
# To connect to the remote host `example.com` and force the use of the 3DES cipher:
sftp -o cipher=3des username@example.comhelp
sftp [options] [user@]host[:port]
SFTP client.
Options:
-v, --verbose verbose mode
-p, --port port number to connect to
-o, --option option to set
-F, --config specify config file
-i, --identity identity file to use
-b, --batch batch mode
-l, --login-timeout login timeout
-q, --quiet quiet mode
-k, --knownhosts known hosts file
-R, --remote-command command to execute on remote side
-S, --subsystem subsystem to execute
-h, --help show this help message
For more information, see the sftp man page.breakdown
Last updated