[CSC 435] Setting up SSH keyfiles on cluster

Andrew J. Pounds pounds at theochem.mercer.edu
Tue Mar 20 06:01:01 EDT 2007


Okay -- here is what we need to do... 

-- First get rid of the stuff we did last week using the following 
procedure...

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    <-- execute my perl script you copied last week
11. cat sshkey*.pub >>./.ssh/authorized_keys
12. rm sshkey*

At this point, you should be able to log into any machine in Room 306 
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