Support Questions
Find answers, ask questions, and share your expertise

Connection timed out when attempting to transfer data from local machine to azure Sandbox

Explorer

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

10 REPLIES 10

New Contributor

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