0

I use this command to copy file from Window to Linux with user "fred", it is successful

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

But if my user name is domain user, such as: domain\fred. I got the error: More than remote source not supported

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

Do you know how to fix this?

Dharman
  • 30,962
  • 25
  • 85
  • 135
taibc
  • 897
  • 2
  • 15
  • 39
  • 2
    Possible duplicate of [PuTTY PSCP error "Local to local copy not supported" when username contains a slash](http://stackoverflow.com/questions/34037484/putty-pscp-error-local-to-local-copy-not-supported-when-username-contains-a-sl) – Martin Prikryl May 17 '17 at 11:24
  • Thanks @MartinPrikryl – taibc May 19 '17 at 06:21

1 Answers1

0

Add the -l flag for user

pscp -l domain\fred c:\temp\example-hosts.txt 10.53.x.x:/etc/hosts
Dharman
  • 30,962
  • 25
  • 85
  • 135