Re: Using public key pair to authenticate

From: Alexander Klimov (alserkli_at_inbox.ru)
Date: 11/24/04

  • Next message: Matthew.Dalton_at_rochester.edu: "RE: Using public key pair to authenticate"
    Date: Wed, 24 Nov 2004 18:00:45 +0200 (IST)
    To: "Loo, Peter" <Peter.Loo@bannerhealth.com>
    
    

    Hi.

    On Tue, 23 Nov 2004, Loo, Peter wrote:
    > I am working with two Unix servers running AIX 5.2. One server is
    > running "OpenSSH_3.6.1p2-CERT-patched, SSH protocols 1.5/2.0, OpenSSL
    > 0x009060df" while the other is running "SSH Secure Shell 3.2.0".
    >
    > I created the key pair on the server with OpenSSH using "ssh-keygen". I
    > named the output files as (identity & identity.pub). Then I copied the
    > contents of "identity.pub" to the file named authorized_keys on the
    > server with "SSH Secure Shell 3.2.0".
    >
    > When I try connecting to the remote server, I am asked to type in the
    > password. Apparently the public key authentication method is not
    > working.
    >
    > Can someone shed some light for me?

    Most probably you read man on one host to setup things on the other :-)

    There are two different systems (OpenSSH and SSH) which are to be setup in
    different ways. OpenSSH uses .ssh/authorized_keys to store keys, while SSH
    uses .ssh2/authorization file to name keys (e.g., Key file.pub). Note also
    that the format of keys may also be different (OpenSSH's ssh-keygen has
     -i Convert IETF SECSH to OpenSSH key file
    and likely SSH also has some utility for conversion)

    Regards,
    ASK


  • Next message: Matthew.Dalton_at_rochester.edu: "RE: Using public key pair to authenticate"