comeonxueRong 2020-05-10
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[]host1:]file1 ... [[]host2:]file2
远程 -> 本地
# 文件 scp :/path/filename /localhost/filename # 目录 scp -r :/path /localhost
本地 -> 远程
# 文件 scp /localhost/filename :/path/filename # 目录 scp -r /localhost :/path