Skip to content

Instantly share code, notes, and snippets.

@conorzhong
Created July 18, 2022 07:23
Show Gist options
  • Save conorzhong/eeebcee77f1988878582152c040df899 to your computer and use it in GitHub Desktop.
Save conorzhong/eeebcee77f1988878582152c040df899 to your computer and use it in GitHub Desktop.
brew-sshpass
class Sshpass < Formula
desc "noninteractive ssh password provider"
homepage "http://sshpass.sourceforge.net/"
version "1.06"
url "https://netix.dl.sourceforge.net/project/sshpass/sshpass/#{version}/sshpass-#{version}.tar.gz"
sha256 "c6324fcee608b99a58f9870157dfa754837f8c48be3df0f5e2f3accf145dee60"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "sshpass"
end
end
@conorzhong
Copy link
Author

  1. download sshpass.rb
  2. brew install sshpass.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment