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: public key authentication problem |
|---|---|
| Date: | Tue, 16 Oct 2007 13:57:29 -0400 |
On Tue, Oct 16, 2007 at 01:06:11PM +0200, Jan Kaspar wrote:
I'm trying to use public key authentication for ssh, but still unsuccessfully.
How does it fail?
The ssh host -vvv gives following output ...
Almost never useful. Public key auth problems are almost always on the SERVER side. Client side debugging doesn't give much useful information in this case.
I checked (on server) ~/.ssh/authorized_keys and that file does contain the keys. Permissions are set drwxr--r-- 2 jkaspar zj 4096 Oct 16 10:38 .ssh -rw-r--r-- 1 jkaspar zj 1667 Oct 16 09:58 authorized_keys
That's a subset of the permissions that sshd will check. See http://wooledge.org/mywiki/SshKeys
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Sending "none" authentication request to the SSH server., Chet Vora |
|---|---|
| Next by Date: | Re: public key authentication problem, Jan Kaspar |
| Previous by Thread: | public key authentication problem, Jan Kaspar |
| Next by Thread: | Re: public key authentication problem, Jan Kaspar |
| Indexes: | [Date] [Thread] [Top] [All Lists] |