C:UsersAdminDesktopWMU5260A2.c
scp C:UsersAdminDesktopWMU5260A2.c ~
I get the error could not resolve hostname C:. Name or service not known'.
scp UsersAdminDesktopWMU5260A2.c ~
which gives me the error Cannot stat 'UsersAdminDesktopWMU5260A2.c': no such file or directory
scp
where to send the file. In your command that is not working:scp
uses :
to delimit the host and path, so it thinks you have asked it to download a file at the path UsersAdminDesktopWMU5260A2.c
from the host C
to your local home directory.pscp source_file user@host:destination_file
pscp sample.txt [email protected]:/mydata/sample.txt
scp priv_key.pem source user@host:target
if you need to connect using a private key.pscp -i priv_key.ppk source user@host:target