【发布时间】:2017-08-21 21:49:33
【问题描述】:
我是使用远程服务器的新手。 我正在尝试将文件从本地计算机(Windows 10)复制到 Ubuntu 服务器。我在 PuTTY 中使用 ssh。
我尝试做的是:scp D:\USER\Desktop\test.txt username@server:home
我明白了:
ssh: Could not resolve hostname d: Name or service not known
所以我尝试了其他一些方法,例如:
scp Desktop/test.txt username@server:home
返回:
Desktop/test.txt: No such file or directory
当然,我的桌面上已经有一个文本文件 test.txt。
我感觉我不知道如何格式化 Windows 路径...
【问题讨论】: