Re: Using public key pair to authenticate
From: Derek Martin (code_at_pizzashack.org)
Date: 11/24/04
- Previous message: Atro Tossavainen: "Re: Using public key pair to authenticate"
- In reply to: Loo, Peter: "Using public key pair to authenticate"
- Next in thread: Alexander Klimov: "Re: Using public key pair to authenticate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- application/pgp-signature attachment: stored
- Previous message: Atro Tossavainen: "Re: Using public key pair to authenticate"
- In reply to: Loo, Peter: "Using public key pair to authenticate"
- Next in thread: Alexander Klimov: "Re: Using public key pair to authenticate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|