Scp issue: Could not resolve hostname


Can anyone tell me what’s wrong with the usage below? Thank you very much.

$ ssh /cygdrive/c/Users/RXIE
ssh: Could not resolve hostname Name or service not known

There is no problem to ssh, I have been working remotely on cygwin all the day.


In this command you mentioned ssh. Please check the screenshot. Scp command is working fine.


Thank you, I mistakenly used ssh instead of scp