Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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