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 22.214.171.124 port 2222: Connection timed out lost connection
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:
scp ~/Downloads/Restaurants.csv email@example.com:/cwarren
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.
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
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.
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 ?