1. 传输单个文件:
    scp user@xx.xx.xx.xx:/path/to/remote/file /path/to/local/file
    # scp /path/to/local/file user@xx.xx.xx.xx:/path/to/remote/file
  2. 传输文件夹:
    scp -r user@xx.xx.xx.xx:/path/to/remote/dir /path/to/local/dir
    # scp -r /path/to/local/dir user@xx.xx.xx.xx:/path/to/remote/dir
文档更新时间: 2020-10-23 09:26   作者:lee