Re: Using public key pair to authenticate

From: Alexander Klimov (
Date: 11/24/04

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


    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 & Then I copied the
    > contents of "" 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 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)


  • Next message: "RE: Using public key pair to authenticate"