文件传输

sftp

使用moba或者xshell传输大文件没法评估传输大文件还剩余多长时间以及当前速率

sftp root@ip
lls #展示local dir文件
pwd #显示remote当前路径
lpwd #显示local当前路径
lcd #更改local当前路径
get remote_file #下载remote_file到当前local path
put local_file # 上穿local_file
mget * #下载remote当前目录所有文件
mget *  local_path