sshpass install
This commit is contained in:
parent
52e51fa3a2
commit
179285083d
@ -10,9 +10,7 @@
|
|||||||
|
|
||||||
3. rails
|
3. rails
|
||||||
|
|
||||||
4. sshpass
|
4. sudo privileges **"without password"** [(see here)](http://askubuntu.com/questions/147241/execute-sudo-without-password)
|
||||||
|
|
||||||
5. sudo privileges **"without password"** [(see here)](http://askubuntu.com/questions/147241/execute-sudo-without-password)
|
|
||||||
|
|
||||||
|
|
||||||
*Setup:*
|
*Setup:*
|
||||||
|
@ -3,8 +3,10 @@
|
|||||||
#version check
|
#version check
|
||||||
if grep centos /etc/*-release; then
|
if grep centos /etc/*-release; then
|
||||||
echo "os : centos, use yum"
|
echo "os : centos, use yum"
|
||||||
|
sudo apt-get install sshpass
|
||||||
elif grep ubuntu /etc/*-release; then
|
elif grep ubuntu /etc/*-release; then
|
||||||
echo "os : ubuntu, use apt-get install"
|
echo "os : ubuntu, use apt-get install"
|
||||||
|
yum install sshpass
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# setup
|
# setup
|
||||||
|
Loading…
Reference in New Issue
Block a user