AJ Kovalainen
  • About
  • Blog
August 12, 2012

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.

Written by AJ Kovalainen
Welcome to ajk.fi How to improve your presentation immediately
  • X x.com/darep
  • GitHub github.com/darep
  • Email ajk@ajk.fi

© AJ Kovalainen

Made with the know-how and the elbow grease