I can scp just fine from local to remove by doing:
scp trip3.csv [email protected]:/home/pi/
But when I try to do remote to local it says no such file or directory:
scp [email protected]:/home/pi/trip3.csv /Users/andrew/Desktop
When i try scp [email protected]:/home/pi/image.jpg ~
it asks for my remote password and shows that the transfer went through, but i can't find the file on my local machine.
Any thoughts?
This is where I am now:
step 1 - ssh into remote host
step 2 - sudo scp [email protected]:image.jpg ~
which gives this response: [email protected]'s password:
step 3 - i enter the correct password which gives this: image.jpg 100% 163KB 162.7KB/s 00:00
step 4 - on local machine i do cd ~
followed by ls | grep image.jpg
which does not give any output just a new command line
scp source[s] target
. So try:scp ~/image.jpg pi@...:...