How to use ssh keys with PuTTY?

Note: The steps below will help you to use ssh keys with PuTTY. If you are unsure of how to generate ssh keys using PuTTYgen, you may want to start with this FAQ instead.

1. Launch PuTTY
2. Navigate to Categories >> Connection >> Auth
3. Browse to look for the private key (pri_key.ppk) saved on your computer when generating ssh keys using PuTTYgen. Click ‘Open’ to upload the key
4. Navigate to Categories >> Session >> Enter name of the remote-host you’d like to connect to (e.g., bert.student.eecs.qmul.ac.uk) and click ‘Open’
5. Enter your EECS username and password credentials to login to the remote-host
6. Connection to the remote host should have been established now. In the remote host terminal, type ‘vim .ssh/authorized_keys’ to open the list of authorized_keys in the remote-host
7. To this file, copy and paste the entire contents of your public key (saved to your computer when generating ssh keys using PuTTYgen)
8. Save and close the authorized_keys file. Log out of the remote-host. Close PuTTY.
Going forward, you’d be able to login to the remote-host just by entering your username and passphrase (set-up when generating ssh keys).

Please see here for detailed instructions.