User Tools

Site Tools


mac:ssh

SSH Key Generation

We'll use SSH for most secure communications (shell, git, etc.). So we'll have to generate a new SSH key for each new Mac system.

SSH client and server are already installed on Mac OS X.

Key Generation

The key generation process is interactive, requiring you to answer a couple questions, and to enter a passphrase.

ssh-keygen -C "$HOSTNAME"

Key Distribution

Once you generate an SSH key pair, you'll need to copy the public key to any system that we need to log into.

Here's a list of sites and systems to copy the public key to:

  • Github
  • osRiver server
  • SLUUG servers (Amber, Bud, Budlight)
  • internal server
mac/ssh.txt · Last modified: 2012/12/10 22:41 (external edit)