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"

    Relevant Pages

    • openssh to openssh scp ssh1 compatibility mode error
      ... i am aware of the ssh1 compatibility mode error problem when using scp ... to transfer files from an openssh client to a commercial ssh server. ...
    • Re: two SSH compatibility scenarios: can it work?
      ... We are required to use SSH to log into the Engineering lab machines. ... > server software displays this header upon telnet connection to port 22. ... I still use Windows on my notebook for application compatibility. ... > running OpenSSH 3.4p1. ...
    • Re: SSH
      ... >> OpenSSH client, SSH server will report at least one or more implementation ... When using an SSH client to ...
    • RE: sshd 3.2.x, really enforcing sftp-only
      ... With plink/putty, this doesn't work, but with openssh it does (my tests ... ssh user@host cmd ... so locking down the permissions on the server itself should be ... involves making a "dummy" /etc/passwd file for cygwin programs to check. ...
    • Re: Zugriff auf Linux via SSH
      ... Es gibt natürlich freie SSH Tools (Putty, OpenSSH), die aber leider erst ... Somit hat sich unser Projekt immer zweigeteilt - halt die Server ... Applikation auf dem eigentlichen Server und dann auf den per SSH ...