教程
1、连接
[root@tecmint ~]# sftp tecmint@27.48.137.6
Connecting to 27.48.137.6...
tecmint@27.48.137.6's password:
sftp>
2、上传文件
sftp> put local.profile #需要在远程服务器新建一个local文件夹,否则会报错
Uploading local.profile to /tecmint/local.profile
3、下载文件
sftp> get SettlementReport_1-10th.xls
Fetching /tecmint/SettlementReport_1-10th.xls to SettlementReport_1-10th.xls