Created
January 17, 2019 10:41
-
-
Save electric380v/f663b7aa92a0ea56f8e11f354ce14949 to your computer and use it in GitHub Desktop.
Installing SSHPASS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing SSHPASS | |
[SSHPass](http://www.cyberciti.biz/faq/noninteractive-shell-script-ssh-password-provider/) is a tiny utility, which 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. Before you get started, you need [install xcode and command line tools](http://guide.macports.org/chunked/installing.xcode.html). | |
### Installing with Homebrew | |
[Homebrew](http://brew.sh/) does not allow you to install `sshpass` by default. But you can use the following unofficial brew package for that. | |
brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb | |
### Installing from the Source | |
* Download the [Source Code](http://sourceforge.net/projects/sshpass/) | |
* Extract it and cd into the directory | |
* `./configure` | |
* `sudo make install` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment