Last active
April 7, 2018 10:41
-
-
Save ramlaxman/bc6ffb69af7930e24003ab700c177a46 to your computer and use it in GitHub Desktop.
ssh-check.sh
This file contains 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
#!/usr/bin/sh | |
dnf install openssh | |
service sshd start | |
chkconfig sshd on | |
echo Do you want to continue? [Y/N] | |
read ans | |
if [ $ans == 'N' ] | |
then | |
echo "SSH check completed. Have a nice day." | |
else | |
/root/new-linux-install/transfer.sh | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment