brewでインストール (失敗)
-
通常通りbrewでインストールしてみようとしたら失敗した。
terminalbrew install sshpass Error: No available formula with the name "sshpass" We won't add sshpass because it makes it too easy for novice SSH users to ruin SSH's security.
- だめ。sshセキュリティがだめになっちゃうからやめとけ、だと。。。
誰かが使ったやつを使う (成功)
-
githubから取得
terminalbrew install http://git.io/sshpass.rb ######################################################################## 100.0% ==> Downloading http://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz ==> Downloading from https://jaist.dl.sourceforge.net/project/sshpass/sshpass/1.05/sshpass-1.05.tar.gz ######################################################################## 100.0% ==> ./configure --prefix=/usr/local/Cellar/sshpass/1.05 ==> make install 🍺 /usr/local/Cellar/sshpass/1.05: 9 files, 40.7K, built in 16 seconds
-
確認
terminalbrew info sshpass sshpass: stable 1.05 http://sourceforge.net/projects/sshpass /usr/local/Cellar/sshpass/1.05 (9 files, 40.7K) * Built from source on 2017-02-16 at 21:10:51 From: /usr/local/opt/sshpass/.brew/sshpass.rb