Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道 scp 经常用于在服务器之间移动文件,但我不确定如何将我的计算机作为服务器引用。如果 scp 是执行此操作的正确命令,那么我错过了什么?
只需 scp /some/local/file youruser@yourremoteserver:/remote/path
颠倒这两个参数以将远程文件复制到本地。