Accounts » Remote Access

ID #1000

Setting up SSH Keys

The use of shosts has been disabled on Computer Science machines. We recommend using ssh keys if you want to login to another account (such as a class account) via SSH.

To generate the ssh key, use the "ssh-keygen" command:
$ ssh-keygen -t rsa

You will be prompted with a few questions - usually the defaults will be fine. We recommend using a passphrase to help protect your key, although you don"t have to.

Next, copy the contents of ~/.ssh/id_rsa.pub to the file ~/.ssh/authorized_keys

Now, when you ssh between CS machines, your ssh key will be used, instead of password authentication.

Note: If you are a TA who needs access to a class account via SSH keys, please see our FAQ entry SSH access to CS class accounts for Teaching Assistants.

Tags: -

Related entries:

Last update: 2007-02-08 10:37
Author: Jeff Sheltren and Mandy Drasco
Revision: 1.3

Digg it! Print this record Send to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this entry:

Average rating: 3.9 out of 5 (10 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry