Skip to content

Instantly share code, notes, and snippets.

@zentralwerkstatt
Last active April 14, 2020 09:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zentralwerkstatt/2faa32f2f6da7f788bd1ab0366fd92cc to your computer and use it in GitHub Desktop.
Save zentralwerkstatt/2faa32f2f6da7f788bd1ab0366fd92cc to your computer and use it in GitHub Desktop.
Basic Security
  • On the client: ssh-copy-id user@server
  • On the server, in etc/ssh/sshd_config: PasswordAuthentication no
  • sudo apt-get install ufw
  • sudo ufw allow ssh
  • sudo ufw enable
  • sudo apt install fail2ban
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment