Created on 06-24-2016 10:21 PM - edited 09-16-2022 03:27 AM
Using gitbash on windows, I'm attempting to transfer a file from my local downloads folder into azure following the instructions here:
http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/
Command:
<code>scp -P 2222~/Downloads/Restaurants.csv cwarren@168.62.237.240:/cwarren
I have verified that the host is correct.
Error:
ssh connect to host 168.62.237.240 port 2222: Connection timed out lost connection
Created 06-24-2016 10:21 PM
If you're on azure the port may just be port 22. Port 2222 is for Sandbox users. Try without the port argument.
Created 07-21-2016 01:58 PM
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 ?
Thanks