Re: pubkey authentication problem redhat linux openssh 2.9p2-12

From: Bert Schmidt (
Date: 01/24/02

From: (Bert Schmidt)
Date: 24 Jan 2002 05:03:10 -0800


similar problem: I use OpenSSH 2.5.2p2 on a unix server and F-Secure
5.1 on a windows client. Password authenticatin works, but client key
authentication does not work. The RSA client key generated by F-Secure
is never accepted by the server.

- Editing file "authorized_keys2" and adding "ssh-rsa" (as Ramon did)
does NOT help (because of older version of SSH ???).

- Using "ssh-keygen -i -f MyKey1" (as Daniel did) does NOT work. My
ssh-keygen does not accept parameter "-i" (because of older version of
SSH !).

- I found a working client keyfile of another user. The key string
starts with "ssh-dss". But I don't know how this key was generated.

=> So, how can I use RSA or DSA keys generated by F-Secure on old
OpenSSH 2.5.2p2? Is there a way to make F-Secure 5.1 generate a DSS
key? Is there a way to convert RSA key to DSS?


"Fred hameldinger" <> wrote in message news:<>...
> I am using the SSH Secure Shell Cient for Windows to log into OpenSSH on my
> Linux box. I was stumped until I ran across this. Thanks! No more
> password authentication.
> Fred
> "Daniel Chan" <> wrote in message
> news:a1unkf$
> > Hi,
> >
> > I'm use F-secure SSH client too. I do the following step.
> >
> > 1. Generate the RSA key on F-secure SSH client.
> >
> > 2. Upload the public key to server.
> >
> > 3. The public key will upload to "~/.ssh2" and the filename is "MyKey1".
> >
> > 4. Run "mkdir ~/.ssh ; cd ~/.ssh2 ; ssh-keygen -i -f MyKey1 >>
> > ~/.ssh/authorized_keys2".
> >
> > 5. Finish.
> >
> > And I'm using the default configuration file of RH7.2
> >

Relevant Pages