SSH v2 sans password prompting...

pll at lanminds.com pll at lanminds.com
Wed Sep 4 10:22:09 EDT 2002


In a message dated: Wed, 04 Sep 2002 07:14:31 PDT
Ken Ambrose said:

>How do I get logged in to a remote host, via ssh, w/o password prompting,
>a la the rhosts file?  I can do it with SSH v1, but v2 seems to give me
>some problems.  I've plugged the public key into the authorized_keys file,
>but no dice.  Any suggestions?

I think v2 forces use of the v2 protocol over the v1 protocol.  You 
can create a ~/.ssh/config file which specifies 'Protocol 1,2'.
But that's relatively insecure.

The better way to do it is to create v2 keys using 'ssh-keygen -t dsa'.
You can then place your new v2/dsa key into authorized_keys.

Hope that helps.

Oh, btw, use 'ssh -v' when debugging this stuff to see exactly why 
you connection promps for passwords, etc.  There's loads of info in 
there to tell you what's actually happening.
-- 

Seeya,
Paul
--
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!





More information about the gnhlug-discuss mailing list