Macへsshpassコマンドをインストールする方法
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
Author And Source
この問題について(Macへsshpassコマンドをインストールする方法), 我々は、より多くの情報をここで見つけました https://qiita.com/LowSE01/items/f4919fff8f51887a2690著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .