Re: Using public key pair to authenticate

From: Derek Martin (code_at_pizzashack.org)
Date: 11/24/04

  • Next message: Alexander Klimov: "Re: Using public key pair to authenticate"
    Date: Wed, 24 Nov 2004 17:26:13 +0900
    To: secureshell@securityfocus.com
    
    
    

    On Tue, Nov 23, 2004 at 04:57:33PM -0700, Loo, Peter wrote:
    > 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".

    ACK! To avoid confusion, you should refer to the remote machine as
    the server, and the local machine as the client. Or remote and local.
    Which machine are you ssh-ing into?

    > 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.

    Well, for starters, check the permissions on the identity.pub file,
    the authorized keys file, the .ssh directory, and your home directory.
    Make sure they conform to the specifications in the man page for sshd
    on the server. In general, all of those should not be
    group-writable or world-writable, and should be owned either by the
    user or by root. That's probably what's getting you. But it could be
    other things too. I recommend you thoroughly read the man pages for
    sshd on both systems.

    -- 
    Derek D. Martin
    http://www.pizzashack.org/
    GPG Key ID: 0x81CFE75D
    
    



  • Next message: Alexander Klimov: "Re: Using public key pair to authenticate"

    Relevant Pages

    • [SLE] Remote Booting using SuSE AMD64 Enterprise Server 8
      ... Enterprise Server 8 for AMD64. ... I got the right linux kernel, I set up DHCP and the right TFTP (without ... The diskless nodes, on startup, immediately obtain an address from the range. ... removing the hard drive from the remote machine). ...
      (SuSE)
    • OpenSSH Problem -Please Help, Thank you!
      ... I was wondering if you could help me with an OpenSSH problem I ... Pageant machine to my Windows XP OpenSSH remote machine (email server) ... and the command prompt showed I was in my home directory ...
      (comp.security.ssh)
    • Re: indexing network drive
      ... The remote machine is a win2000 server on the ... The connect as account is a domain user with full permissions on the ... > | I'm trying to add a network path to what the indexing service includes. ...
      (microsoft.public.inetserver.indexserver)
    • Re: Help accessing a remote ldap server
      ... I can now read the ldap server entries from the remote machine. ...
      (alt.os.linux.suse)
    • Response.Redirect problem from remote machine
      ... I have the code working on a remote machine as ... server from a remote machine it does not work. ... within the network and from outside. ... Windows SBS 2003, ...
      (microsoft.public.dotnet.framework.aspnet)