SSHPass is a tiny utility, which allows you to provide the ssh password without using the prompt. This will very helpful for scripting. SSHPass is not good to use in multi-user environment. If you use SSHPass on your development machine, it don't do anything evil.
apt-get install sshpass
Installing on OS X is tricky, since there is no official build for it. Before you get started, you need install xcode and command line tools.
Homebrew does not allow you to install sshpass
by default. But you can use the following unofficial brew package for that.
brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb
- Download the Source Code
- Extract it and cd into the directory
./configure
sudo make install
...and on that point, Brew still package tools like
hping
,nping
andexpect
which allow novices to weaken security, or attack others. These are just tools.What about the major use case of needing to SSH into an embedded device that doesn't support SSH keypairs? If your task is to automate (Ansible or shell scripts) against embedded systems, the loudest message Homebrew sends is: "Don't use a Mac for this, use Linux."
What this causes is Homebrew users pulling in "random" Github repos. At some point one of those rando repos will do something nasty to all these "novice users". Brew maintainers can claim it wasn't their doing, not everyone will feel that way.