![]() |
|||||||||||||
![]() |
QUICK LINKS
|
||||||||||||
|
RESOURCES |
Instructions for Generating and Using an SSH Public Key
Unix
Windows - F-Secure SSH
Windows - PuTTY PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator.
Other SSH clients have similar setup procedures. See http://www.openssh.org/windows.html for a list of freely available ssh clients for Windows. MAC OSX 1. Open a new terminal session 2. type ' ssh-keygen -t dsa ' 3. Expect to see the following, and enter a passphrase which is easy for you to remember but "hard to crack". Long passphrases with letters, numbers, non alphanumerics are good.
Your keys are stored in the .ssh/ directory in your home directory. Lets have a look at your keys.
4. The file id_dsa contains your version 2 private key. File sizes (526 and 334) in your directory probably won't be the same as the example above. The file id_dsa.pub contains your version 2 public key. Please send the public key (id_dsa.pub) to us at account-support and we'll install this for you on the CACR systems you have access to. If you have password access to a remote system, you can install the public key yourself (append id_dsa.pub to $HOME/.ssh/authorized_keys) and ssh into the remote system rather than using the login/password mechanism. 5. So you don't have to keep entering your passphrase everytime you ssh into a remote system, installing sshkeychain is a good idea. Please follow the instructions at http://trac.sshkeychain.org/cgi-bin/trac.cgi/wiki/INSTALL SSHKeychain is a graphical front-end for ssh-agent and ssh-add for MAC OSX. 6. To ssh into a cacr system where your public key is installed, you can do ssh username@remotesystem.cacr.caltech.edu Note that your username on the remote system may be different than on your local host, thus the need to specify the username on the ssh line. Provided you have your sshkeychain installed and the sshagent running, you shouldn't have to type a passphrase when ssh'ing into a remote system.
|
||||||||||||
![]() |
|||||||||||||
| [ research | cse@cit | computing resources | publications | about us | news/events | contact/visit | internal ] | |||||||||||||