[CLUE-Tech] rsa1 logs in w/out password - not rsa(2)

Jed S. Baer thag at frii.com
Wed Feb 19 12:31:24 MST 2003


On Wed, 19 Feb 2003 12:07:45 -0700
Dave Price <davep at kinaole.org> wrote:

> cluebies,
> 
> I have genereated rssa1 and rsa keys and moved the .pub (public key)
> components to ann authorized_hosts file on a remote system.
> 
> When I do an ssh -1 user at remote I get in with no password (rsa1)
> 
> However, ssh user at remote (rsa2) always prompts me for a password.
> 
> Any idea why this would happen?

Looking at the ssh-keygen manpage, I see no reference to rsa2, so I think
you mean dsa2.

After running ssh-keygen, the dsa2 public key: (from the manpage)

$HOME/.ssh/id_dsa.pub
  Contains the protocol version 2 DSA public key for authentica­
  tion.  The contents of this file should be added to
  $HOME/.ssh/authorized_keys2 on all machines where you wish to log
  in using public key authentication.  There is no need to keep the
  contents of this file secret.

I've used this successfully with Sourceforge, and I didn't have to make
any entries to authorized_hosts. In fact, AFAIK, Sourceforge doesn't
provide any way to do that for their hosts.

HTH.
jed
-- 
I wouldn't even think about bribing a rottweiler with a steak that
didn't weigh more than I do. -- Jason Earl



More information about the clue-tech mailing list