[CLUE-Tech] ssh using RSA authentication?
Michael Robbert
mrobbert at mines.edu
Wed Nov 27 09:21:05 MST 2002
Dave Price wrote:
>Hi,
>
>I am trying to set up 'no password' access to remote systems with ssh
>and RSA keys.
>
>I have built both rsa and rsa1 keys on a mandrake client - these have
>null passwords
>
>I have tried manually copying these keys to ~/.ssh/authorized_keys
>and using a script ssh-auth, from the FAQ that seems to achieve the same
>same thing.
>
>I still get prompted for a password when I try to ssh to the remote
>system with the keys installed - any hints?
>
>aloha,
>dave
>
>_______________________________________________
>CLUE-Tech mailing list
>CLUE-Tech at clue.denver.co.us
>http://clue.denver.co.us/mailman/listinfo/clue-tech
>
>
Dave,
I know of your troubles. I've spent countless hours trying to do the
same. I don't know if I have your answer, but here are some hints and
things to look for.
My biggest problem was that OpenSSH keys are not compatible with
Commercial SSH servers and vice-versa. OpenSSH has an option in
ssh-keygen that can convert between the two though so check what is
installed on the server machine that you're connecting to. Also I don't
see in your note where you mention what machine you've put te
authorized_keys file on. you do know that it needs to contain the public
keys and be on the server. You also need to make sure that your client
is looking for the private keys in the right place.
The best thing that you can do is: ssh -v server
That should give you debugging output and you'll see what files it's
looking at and finding and how the server is responding. Then you can
post some of its output if you're still having trouble.
Good Luck,
Michael "Murph" Robbert
--
Michael "Murph" Robbert
System Administrator for Math/CS
Colorado School of Mines, Golden, CO 80401-1887
Office: SH220
Office phone: 303-273-3786
Pager: 303-461-6543 or Text messages: murph_pager at bigfoot.com
Email: mrobbert at mines.edu
More information about the clue-tech
mailing list