I am trying to copy a directory from a remote AWS instance to my local instance.
I have not ssh'ed into the remote instance unlike the user in this question
I simply run the command:
scp -r user@remotehost:/path/to/dir/on/remote/instance /C:/Users/example/user/path/to/destination
I type the server password in
I then get the error message:
/C:/Users/example/user/path/to/destination: No such file or directory
relating to the local instance path
Has anyone got any ideas why this is happening?
Edit: Using Gitbash on a local windows instance
Thanks in advance John