Skip to content

Instantly share code, notes, and snippets.

@ramlaxman
Last active April 7, 2018 10:41
Show Gist options
  • Save ramlaxman/bc6ffb69af7930e24003ab700c177a46 to your computer and use it in GitHub Desktop.
Save ramlaxman/bc6ffb69af7930e24003ab700c177a46 to your computer and use it in GitHub Desktop.
ssh-check.sh
#!/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