Setting up SSH
A quick guide to setup remote access to your server
Step 1: Installing OpenSSH
This step won't be guiding you on how to actually install OpenSSH since I don't know which distri...
Step 2: Generating a SSH key
SSH keys are used to safely connect to remote machines, without a password, among other things. I...
Step 3: Copy SSH key to server
Now that we have a key, we can transfer it to our server. This can be done with ssh-copy-id. Run:...
Step 4: Securing OpenSSH
⚠️ Before continuing: This will make login via password impossible. If you lose your SSH key, you...
Step 5: Setting up fail2ban
We are now going to setup fail2ban, basically something than bans IPs from accessing your server ...
End word
The setup is now complete! You can somewhat safely make your server publicly accessible now, if i...