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

Skip down to comments...
Hope you found this post useful...

...so please read on! I love writing articles that provide beneficial information, tips and examples to my readers. All information on my blog is provided free of charge and I encourage you to share it as you wish. There is a small favour I ask in return however - engage in comments below, provide feedback, and if you see mistakes let me know.

If you want to show additional support and help me pay for web hosting and domain name registration, donations, no matter how small, are always welcome!

Use of any information contained in this blog post/article is subject to this disclaimer.
 
comments powered by Disqus
Other posts you may like...