我如何向后使用scp?


Answers:


19

语法为:

scp source destination

因此,这次,源是本地(客户端)计算机,而目的地是远程(服务器)计算机。

如果您要发送的文件是~/homecomputer/directory/foobar.txt,则可以从本地计算机执行以下操作:

scp ~/homecomputer/directory/foobar.txt root@server.ip.adress:/where/to/put

检查man scp以获得更多关于此的想法。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.