Install sshpass on OS X using brew
When trying to install sshpass using brew, you may be met with the following message
$ brew search sshpass
We won't add sshpass because it makes it too easy for novice SSH users to ruin SSH's security.
If you would like to get around this, sshpass can be installed through brew by using the following command
$ brew install https://raw.github.com/eugeneoden/homebrew/eca9de1/Library/Formula/sshpass.rb
Please note that relying on sshpass to connect to servers is a poor security practice. Using sshpass to connect to a server will save the credentials into the command-line history.