[CSC 435] Setting up SSH keyfiles on cluster

Daryl Ebanks thegreattsbob at gmail.com
Tue Mar 20 12:32:01 EDT 2007


Andrew J. Pounds wrote:
> 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
>
Did Anyone get this to work yet. I just tried it from my room computer
and it wasn't working correctly. Perhaps it only works on lab computers?
I'll try in the lab during class.
Daryl Ebanks


More information about the csc435 mailing list