Using gitbash on windows, I'm attempting to transfer a file from my local downloads folder into azure following the instructions here:
<code>scp -P 2222~/Downloads/Restaurants.csv firstname.lastname@example.org:/cwarren
I have verified that the host is correct.
ssh connect to host 126.96.36.199 port 2222: Connection timed out lost connection
If you're on azure the port may just be port 22. Port 2222 is for Sandbox users. Try without the port argument.
View solution in original post
Same problem here, on my Mac OS 10.11. First error was "Connection timed out lost connection".
I found that the ~/Downloads/ path was referring to a path on the VM in Azure, not my local path.
So I jump the command ssh <username>@<host>-p 22; and retry. Now the path seems correct but I got the error "Permission denied"
How did you resolve it, @Cameron Warren ?