HowTo: RSA Keys

Filed under: Technical References

Posted: March 7, 2009

Making the Key

On either London.cs.uri.edu or Paris.cs.uri.edu

ssh-keygen -t rsa

You will then see

Generating public/private rsa key pair.
Enter file in which to save the key (/home/ugrad/auser/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/ugrad/auser/.ssh/id_rsa.
Your public key has been saved in /home/ugrad/auser/.ssh/id_rsa.pub.
The key fingerprint is:
My_Finger_Print_Id auser@london

Congratulations you have created your keys.

Implementing Your Keys

You need to make a file called authorized_keys

cd ~/.ssh
cat id_rsa.pub >> authorized_keys

Ok now you are ready to accept keys when they are presented to you at the time of login.