XShell使用sftp传输文件

sftp username@host

get

put

[d:~]$ sftp
NAME
sftp - connects to a host to transfer files securely.

SYNOPSYS
sftp [user@]host [port]

OPTIONS
user Indicates the user's login name.
host Indicates the name, alias, or Internet address of the
remote host.
port Indicates a port number (address of an application).
If the port is not specified, the default ssh port
(22) is used

原文地址:https://www.cnblogs.com/yuanye007/p/5856947.html