How to use public key authentication with SSH

Reference

https://www.linode.com/docs/security/authentication/use-public-key-authentication-with-ssh/