#4 Setting up SSH keys

October 17, 2022

Right now, we have to enter the password every time we log in to the server. There's a better way to do this - authenticating via SSH keys. It's also arguably more secure.

This involves generating the SSH keys and copying them to the .ssh folder in the home directory. This manual describes the steps very well.

Once we're finished, the authentication happens via SSH keys and we're no longer being asked for the password.

➜ ~ ssh juraj@api.jurajmajerik.com
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-110-generic x86_64)
...
juraj@server:~$