[CSC 435] SSH KEYGEN PROCEDURES
Andrew J. Pounds
pounds_aj at mercer.edu
Thu Feb 11 10:54:51 EST 2010
Here are the steps you need to follow to get your keys set up on the cluster
1. log onto zeus
2. issue the comand "rm sshkey*"
3. cd .ssh
4. issue the command "rm auth*"
Now we are going to make a single ssh-key authentication file (unique to
your userid)
5. issue the command "ssh-keygen -q -f sshkey_zeus -t dsa"
This will create two files, sshkey_zeus and sshkey_zeus.pub
6. cp sshkey_zeus id_dsa
7. cp sshkey_zeus.pub authorized_keys
8. chmod go-rws id_dsa
At this point you should be able to log into zeus from zeus with no
password, we need to replicate this information to all the other machines...
9. cd ..
10. ./generatekeys.pl <http://generatekeys.pl> <-- execute my perl
script (attached to this e-mail, modify it to ONLY DO LAB 204)
11. cat sshkey*.pub >>./.ssh/authorized_keys
12. rm sshkey*
At this point, you should be able to log into any machine in Room 204
without a password
--
Andrew J. Pounds, Ph.D. (pounds at theochem.mercer.edu)
Associate Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
More information about the csc435
mailing list