如何使用ssh terminal命令将文件从桌面复制到unix

时间:2017-06-09 14:22:23

标签: unix

我正在尝试使用SSH客户端将一个名为TEST.txt的文件从我的桌面复制到Unix服务器。我将用什么命令来完成这项任务?

非常感谢!!

2 个答案:

答案 0 :(得分:1)

您需要使用scp,如下所示:

scp /file/to/send username@remote:/where/to/put

请点击此处获取更多帮助:https://unix.stackexchange.com/questions/188285/how-to-copy-a-file-from-a-remote-server-to-a-local-machine

答案 1 :(得分:0)

我假设您正在运行Windows桌面。您可以使用PuTTy或FileZilla中的SFTP工具使用ssh凭据复制文件。