OpenSSH 2 - can't get pubkeys to authenticate

Damien Miller djm at mindrot.org
Sat Jul 7 18:49:54 EST 2001


On Wed, 4 Jul 2001, _t0pper _ wrote:

> The System:
> RedHat 7.0
> OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090581f
>
> Client:
> PuTTY
>
> The Problem:
>
> I've installed the newest version of OpenSSH on RedHat 7.0 and can get
> most things to work, except when I want to use Public Keys with
> version 2.0.
>
> If I use straight password authentication, I can get PuTTY to connect
> using either SSH 1 or SSH 2.
>
> If I RSA authentication for SSH1, it also works, no matter if I create
> the key on the client and transport the public key to the server or if
> I create the keys on the server and get the private key to the client.
> Both ways are successful. (Yes, I use authorized_keys in the
> $HOME/.ssh directory).
>
> The problem I'm running into is getting public key authentication to
> work with SSH2.  I create the keys on the server, put the public key
> into the authorized_keys2 file and transport the private key to the
> client.

Are you using the CVS Putty or the latest release? The latest release
doesn't do SSH protocol 2 pubkey auth, the CVS will do pubkey auth, but
you need to use RSA keys (DSA is not supported by PuTTY).

-d

-- 
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's
| http://www.mindrot.org          /   distributed filesystem'' - Dan Geer





More information about the openssh-unix-dev mailing list