macos,

How to install sshpass on macOS

Jan 10, 2023 · 1 min read · Post a comment

Trying to install sshpass on macOS by executing brew install sshpass I get stuck with the following message:

Warning: No available formula with the name "sshpass". Did you mean sshs?
We won't add sshpass because it makes it too easy for novice SSH users to
ruin SSH's security.

But there is another way to make it work. Let’s see how to install sshpass on macOS.

Prerequisites

  • macOS
  • Homebrew

Install sshpass on macOS

Step 1. Use tap as an alternative.

brew tap esolitos/ipa

Step 2. Install sshpass.

brew install esolitos/ipa/sshpass

Step 3. Verify the installation.

sshpass -help

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.