This is largely copied from http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node31.html
It’s quite easy, too, at least if you are running Linux (not sure how well it works on other systems, but I believe Macs are easy too), and its much more secure than a password. You can actually disable passwords entirely for your account, making it impossible for anyone to log in as you unless doing so from one of your authorized computers.
I would strongly encourage you all to make very long, cumbersome passwords, and then use this approach as you will never have to use your password again as long as you are logging in from one of the machines that already has it’s key copied to your .ssh/authorized_keys
Continue reading