DCO > Knowledge Base

Main Page | Recent Updates | RSS Feed
  
How can I generate new SSH keys?updated 07/06/2009 1:07 PM | Print | Edit | History

The ssh-keygen command generates the authentication keys to use with ssh. It will generate both a public and a private key file, and place them in a subdirectory called ".ssh" in your home directory:

% ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (~user/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in ~user/.ssh/id_rsa.
Your public key has been saved in ~user/.ssh/id_rsa.pub.
The key fingerprint is:
77:20:fe:49:e6:91:31:77:88:21:fd:d8:0f:26:85:32 user@host.eecs.umich.edu


Do you need further assistance? We're here to help. Give us a call, send an email, or just stop by one of our offices.

Was this page helpful? Does it need improvement?

Powered by LionWiki | Admin | Incoming Links