Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

I was trying to transfer some files from my home server using scp when I came across this error...
 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

A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. Use of any information from my blog posts should be at own risk and I do not hold any liability towards any information misuse or damages caused by following any of my posts.

All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle). Use of any information contained in this blog post/article is subject to this disclaimer.
Hi! You can search my blog here ⤵
NOTE: (2022) This Blog is no longer maintained and I will not be answering any emails or comments.

I am now focusing on Atari Gamer.