Skip to content

Instantly share code, notes, and snippets.

@burinov
Forked from arunoda/gist:7790979
Created April 24, 2018 15:44
Show Gist options
  • Select an option

  • Save burinov/2cd7ddcd78ebf86ecc96f135ca180468 to your computer and use it in GitHub Desktop.

Select an option

Save burinov/2cd7ddcd78ebf86ecc96f135ca180468 to your computer and use it in GitHub Desktop.
Installing SSHPass

Installing SSHPASS

SSH Pass is a very simple utility allows you to provide the ssh password, without using the prompt. This will very helpful for scripting. SSHPass is not good to use in multi-user environment. If you use SSHPass on your development machine, it don't do anything evil.

Installing on Ubuntu

apt-get install sshpass

Installing on OS X

Installing on OS X is tricky, since there is no official build for it.

Installing with Homebrew

Homebrew does not allow you to install sshpass by default. But you can use the following unofficial brew package for that.

brew install https://raw.github.com/eugeneoden/homebrew/eca9de1/Library/Formula/sshpass.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment