Last active
September 30, 2020 07:41
-
-
Save shmidt/6f410324ae177f57491e407a4e145c27 to your computer and use it in GitHub Desktop.
Securing Pi
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
# https://www.raspberrypi.org/documentation/configuration/security.md | |
sudo apt install ufw | |
sudo ufw allow ssh | |
sudo ufw limit ssh/tcp | |
sudo ufw enable | |
sudo apt install fail2ban | |
sudo service fail2ban restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment