SSH key tips
If you’re a developer, you might be using SSH keys for different services. Here’s a few tips for managing SSH keys.
Check the fingerprint of a key Github stores and displays the fingerprints of the keys you’ve added. If you want to check if a particular key is the same as the one in Github, use this command to see the key’s fingerprint:
$ ssh-keygen -lf ssh-key-file.pub
Storing SSH keys in the Keychain (OSX) To store your SSH key in the OSX Keychain, just use this command:
$ ssh-add -K /path/to/your/private/key/file
If you have a passphrase on the key, Keychain will store that as well, and you will never have to type ssh-add
or the passphrase for this key again!
On Windows you can use something like PuTTy Pageant.
Share article