您的位置 首页 Mac相关

brew安装sshpass

新建一个文件/tmp/sshpass.rb,写入如下内容,最后执行brew install /tmp/sshp…

新建一个文件/tmp/sshpass.rb,写入如下内容,最后执行brew install /tmp/sshpass.rb

require ‘formula’

class Sshpass < Formula
url ‘http://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz’
homepage ‘http://sourceforge.net/projects/sshpass’
sha256 ‘c3f78752a68a0c3f62efb3332cceea0c8a1f04f7cf6b46e00ec0c3000bc8483e’

def install
system “./configure”, “–disable-debug”, “–disable-dependency-tracking”,
“–prefix=#{prefix}”
system “make install”
end

def test
system “sshpass”
end
end

本文来自网络,不代表艾米无线立场,转载请注明出处:https://amymob.com/9/

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

联系我们

联系我们

15822006157

在线咨询: QQ交谈

邮箱: mayue@amymob

工作时间:周一至周五,9:00-17:30,节假日休息

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

关注微博
返回顶部