Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Using public key pair to authenticate |
|---|---|
| Date: | Wed, 24 Nov 2004 17:26:13 +0900 |
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
pgphco9iC4DcN.pgp
Description: PGP signature
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Using public key pair to authenticate, Atro Tossavainen |
|---|---|
| Next by Date: | Re: Using public key pair to authenticate, Alexander Klimov |
| Previous by Thread: | Re: Using public key pair to authenticate, Atro Tossavainen |
| Next by Thread: | Re: Using public key pair to authenticate, Alexander Klimov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |