Brew - sshpass security
Even though Homebrew has blacklisted sshpass, you can still install it through third-party formula such as hudochenkov's:

brew install hudochenkov/sshpass/sshpass

There are several things to consider before doing this though:


It's a third-party formula which may not be updated as routinely as the brew core, so you could potentially miss out on key security updates.
SSHPass has been blocked for a reason, it's bad practice and there's likely to be a solution other than SSHPass - the page for SSHPass even states that:



  Most user should use SSH's more secure public key authentiaction instead
  
  Sourceforge