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.
我用这个命令用用户“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
你知道如何解决这个问题吗?
为用户添加-l标志
-l
pscp -l domain\fred c:\temp\example-hosts.txt 10.53.x.x:/etc/hosts