[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenSSH public key auth



On Thu, Mar 15, 2001 at 11:48:54AM -0500, Juergen Fiedler wrote:
> Hi!
> 
> I am running unstable with OpenSSH_2.5.1p2 installed. Now I am trying 
> to connect to a machine that is running Redhat 6.2 with SSH 2 from 
> ssh.com. The regular login works OK, but I am having problems getting 
> public key authentication working. 

Configuring SSH2 is quite completely different than configuring OpenSSH 
(and SSH1 for that matter.) 

What you need to do, is extract your public key from OpenSSH in a format
that SSH2 recognizes.  Then you just configure ssh2 as it's supposed to be
configured (man sshd on the server.)

    ssh-keygen -f ~/.ssh/identity -x > id_ssh.pub
    scp id_ssh.pub remote:~/.ssh2/
    ssh remote
    echo 'Key id_ssh.pub' >> ~/.ssh2/authorization
    

-- 
Tommi Komulainen                                 Tommi.Komulainen@iki.fi
GPG 1024D/68388EE6    6FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6

Attachment: pgp30IkBgPOtl.pgp
Description: PGP signature


Reply to: