0

我用这个命令用用户“fred”将文件从Window复制到Linux,它是成功的

pscp  c:\temp\example-hosts.txt fred@10.53.x.x:/etc/hosts 

但是如果我的用户名是域用户,比如:domain\fred。我收到错误消息:不支持超过远程源

pscp c:\temp\example-hosts.txt domain\fred@10.53.x.x:/etc/hosts

你知道如何解决这个问题吗?

4

1 回答 1

0

为用户添加-l标志

pscp -l domain\fred c:\temp\example-hosts.txt 10.53.x.x:/etc/hosts
于 2020-01-13T15:17:43.347 回答