sshpass install
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
#version check
|
||||
if grep centos /etc/*-release; then
|
||||
echo "os : centos, use yum"
|
||||
sudo apt-get install sshpass
|
||||
elif grep ubuntu /etc/*-release; then
|
||||
echo "os : ubuntu, use apt-get install"
|
||||
yum install sshpass
|
||||
fi
|
||||
|
||||
# setup
|
||||
|
||||
Reference in New Issue
Block a user