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: SSH key authentication - can only login as root |
|---|---|
| Date: | Fri, 08 Sep 2006 23:45:04 +0200 |
Tomasz Chmielewski wrote:Greg Wooledge wrote:On Wed, Sep 06, 2006 at 12:10:48PM +0200, Tomasz Chmielewski wrote:I have a problem with logging in using keys (on Debian). Sep 6 11:56:13 thecus sshd[18730]: debug1: trying public key file /home/checkuser/.ssh/authorized_keys Sep 6 11:56:13 thecus sshd[18730]: debug1: restore_uid: 0/0 Sep 6 11:56:13 thecus sshd[18730]: debug1: temporarily_use_uid: 1001/1001 (e=0/0) Sep 6 11:56:13 thecus sshd[18730]: debug1: trying public key file /home/checkuser/.ssh/authorized_keys2ls -ld / /home /home/checkuser /home/checkuser/.ssh ls -ld /home/checkuser/.ssh/authorized_keys*
I bet one or more of these directories/files has group write permission on it.Nope, all directories/files, starting from /home/checkuser, have only user permissions.
Stupid me! :)
And I did so many configuration and pam changes, tests etc.!
-- Tomasz Chmielewski http://wpkg.org
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | transport protocol exception (bad client public DH value), Vishwaroopa Rangamgari |
|---|---|
| Next by Date: | Re: openssh: Enabling sftp, but disabling ssh?, Benjamin Donnachie |
| Previous by Thread: | Re: SSH key authentication - can only login as root, Tomasz Chmielewski |
| Next by Thread: | locale problem, Olaf Schreiner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |