RE: Using public key pair to authenticate

From: Marrion, Jim (marrionj_at_bcharrispub.com)
Date: 11/24/04

  • Next message: Atro Tossavainen: "Re: Using public key pair to authenticate"
    To: "Tay, Gary" <Gary_Tay@platts.com>, "Loo, Peter" <Peter.Loo@bannerhealth.com>, secureshell@securityfocus.com
    Date: Wed, 24 Nov 2004 11:29:30 -0500
    
    

    Also check the permissions on the home directories they must be 755, also
    some systems need to have an authorization file with the name of the public
    key files on the client side.

    -----Original Message-----
    From: Tay, Gary [mailto:Gary_Tay@platts.com]
    Sent: Wednesday, November 24, 2004 5:11 AM
    To: Loo, Peter; secureshell@securityfocus.com
    Subject: RE: Using public key pair to authenticate

    You may search SUN's BigAdmin portal or Google for "authorized_keys".
    Some good ones:

    http://www.sun.com/bigadmin/features/articles/sec_shell_1.html
    http://www.sun.com/bigadmin/features/articles/sec_shell_2.html

    Most people would start SSH server in debug mode, "sshd -d", and also
    test ssh client connection using vervose mode, "ssh -v remotehost"

    Gary

    -----Original Message-----
    From: Loo, Peter [mailto:Peter.Loo@bannerhealth.com]
    Sent: Wednesday, November 24, 2004 7:58 AM
    To: secureshell@securityfocus.com
    Subject: Using public key pair to authenticate

     
    Hi,

    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?

    Thanks.

    Peter


  • Next message: Atro Tossavainen: "Re: Using public key pair to authenticate"

    Relevant Pages

    • Re: Explanation of SSH
      ... I am still unclear on how SSH works exactly. ... Client issues SSH command and names server ... "Shopper" says "server sends back its public host and server keys ... Surely there is only one public key it sends ...
      (comp.security.ssh)
    • Re: Restricting ssh access to selected hosts
      ... Then copy the public key to the target box with: ... >> You can make the ssh server key-only, ... > want to login as "userB" on the server. ...
      (comp.os.linux.security)
    • Explanation of SSH
      ... I am still unclear on how SSH works exactly. ... Client issues SSH command and names server ... "Shopper" says "server sends back its public host and server keys ... Surely there is only one public key it sends ...
      (comp.security.ssh)
    • Re: SSH with Public Key Authentication (Was: Re: Attention: Giorgos Keramidas (Was: CVS Import Permi
      ... and got stuck setting up the public key login. ... I spent a few hours yesterday trying to get SSH going again. ... Log in using your private key from the server (ie. login to the ...
      (freebsd-questions)
    • Re: simulate connection with netcat
      ... For non technical users you can use ssh as a CA, you can create to each user a public key inside a USB Pendrive and them configure their ssh clients with that certificate. ... This way they can authenticate to your server. ... You can find pointers to the related RFCs here: ...
      (SSH)