可以简单用scp 命令来实现
p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff }
p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff; min-height: 13.0px }
span.s1 { }
TimZhaodeMacBook-Pro:~ tim$ scp -- h
usage: scp [-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[[email protected]]host1:]file1 ... [[[email protected]]host2:]file2
TimZhaodeMacBook-Pro:~ tim$
OPTIONS:
-v 显示进度。可以用来查看连接、认证、或是配置错误
-P 选择端口
-r 复制目录
原文地址:https://www.cnblogs.com/tim-eff/p/9022477.html
时间: 2024-12-19 07:40:53