我正在命令行上通过 SSH 连接到远程服务器,并尝试使用该scp
命令将目录复制到我的本地计算机上。但是,远程服务器返回此“使用”消息:
[Stewart:console/ebooks/discostat] jmm% scp -p ./styles/
usage: scp [-1246BCEpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
[Stewart:console/ebooks/discostat] jmm%
我希望能够双向传输文件。根据我的阅读,我认为上述命令可以用于下载和scp -p [localpath] [remotepath]
上传?