- 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
Basic Security
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment