SSH Login With Keys
From Your Computer
Make sure you have created a private/public key pair. There are tons of articles online about how to use openSSH (for real operating systems) or some convoluted third-party app like Pagent or Putty to generate an SSH key.
Copy the contents of your id_rsa.pub file (you can use this public key on multiple services, BTW, they do not need to be unique per service.
On The Server
Login with your user account using an old-fashioned username/password.
Now let’s setup a way to login from your computer without typing passwords: