Terminal output
> scp [email protected]:/path/to/source.file target.file
[email protected]'s password:
bash: scp: command not found
This was strange because I was using scp on my Mac in the first place. Turns out the problem wasn't on my Mac but on the file server itself. The scp command was not available on the server!
To get it to work all I had to do was install the openssh-client package using apt-get like so:
Commands
apt-get install openssh-client
-i