I can scp just fine from local to remote by doing:
scp trip3.csv [email protected]:/home/pi/
But when I try to do remote to local (below) 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.
also, when i go from remote to local, why does it ask me for my remote password. shouldn't it ask me for my local password?
How I figured out my issue:
I was initially trying to use scp while ssh'd into the raspbery pi, from the raspberry pi command line. I did not realize you could only scp from your local machine.
My issue was solved when I scp'd from my local machine.