scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 [...] [[user@]host2:]file2
scp -r -P 22 -p sourceFilePath root@127.0.0.1:targetFilePath
-P 指定端口号 大写 -p 保存源文件的访问权限和最后修改时间 小写 -r 递归复制目录
|