Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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 [email protected]:/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 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 06-24-2016 10:27 PM
I am a sandbox user. The port doesn't seem to be working however.
Created 06-24-2016 10:27 PM
You said that you were working on Azure - when I referred the Sandbox I should have specified the local VM (VirtualBox/VMWare).
try these and let me know the results:
ssh [email protected]
or
scp ~/Downloads/Restaurants.csv [email protected]:/cwarren
Created 06-24-2016 10:35 PM
Let me clarify - I have deployed the Sandbox on azure - not using a local VM.
Created 06-24-2016 10:38 PM
Cameron did you try the commands above? I tried ssh on the IP you provided and it connected and asked for a password. I believe the commands above should work for you.
Created 06-24-2016 10:40 PM
The path to ~/Downloads/Restaurants.csv is probably wrong. You just need to locate wherever you downloaded the file to and point to that path instead of ~/Downloads/Restaurants.csv
Created 06-24-2016 10:46 PM
I would either just move the file or trying using 'sudo' or if you're on Windows try opening the gitbash program 'As Administrator'. It may resolve your issues. Windows can be finicky with things like this.
Created 06-24-2016 10:50 PM
That worked - but now I get error scp: /cwarren Permission denied
Created 06-24-2016 10:51 PM
Thank you.