Created
December 18, 2016 14:40
-
-
Save Hotfirenet/cb2a64052b17c02afb54d60eae961104 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
apt-get update && apt-get upgrade -y && apt-get autoremove -y && apt-get autoclean -y | |
apt-get install sudo fail2ban rkhunter -y | |
sed -i 's/PermitRootLogin yes/PermitRootLogin no/g' /etc/ssh/sshd_config | |
service ssh restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment