macOS 安装 sshpass

HelloDog at 
前言 sshpass 是 ansible 密码输入的必要条件,在 Linux 中使用 yum install sshpass 或者 apt-get install sshpass 都可以轻松安装,但在 macOS 新版本中由于安全原因无法直接使用 brew install sshpass,需要采用其它安全的办法绕过。更新历史 2020 年 10 月 13 日 - 初稿阅读原文 - https://wsgzao.github.io/post/sshpass/使用 sshpass 的场景在 macOS 下使用 ansible 命令 (inventory 文件中使用了密码验证的方式) 或者使用 iT……