From owner-freebsd-questions@FreeBSD.ORG Sun Nov 21 05:34:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7767416A4CE for ; Sun, 21 Nov 2004 05:34:50 +0000 (GMT) Received: from ns2.noanet.net (medusa.noanet.net [66.119.192.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46C7843D3F for ; Sun, 21 Nov 2004 05:34:50 +0000 (GMT) (envelope-from mksmith@noanet.net) Received: from noanet.lan (basilisk [64.146.175.5]) by ns2.noanet.net (8.13.1/8.13.1) with ESMTP id iAL5YZX3012684; Sat, 20 Nov 2004 21:34:36 -0800 (PST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Date: Sat, 20 Nov 2004 21:34:42 -0800 Message-ID: <6B628149FCE1B543A3AB351A29DC7D8E3A8A8C@basilisk.noanet.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: NEW: cannot ssh to my computer Thread-Index: AcTPb3F0RmyR+FwlTkeZic6mZQTDRQAG/3Mg From: "Michael Smith" To: "Ivan Georgiev" , Subject: RE: NEW: cannot ssh to my computer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 05:34:50 -0000 -----Original Message----- From: Ivan Georgiev [mailto:georgiev@vt.edu]=20 Sent: Saturday, November 20, 2004 6:11 PM To: freebsd-questions@freebsd.org Cc: Michael Smith Subject: Re: NEW: cannot ssh to my computer > Hello, > > Please excuse my re-posting of the same problem but, simply, I have no > clue > how to fix my account. Below you can see the previous postings. What > puzzles > me is that if I create a new user this user can connect trough ssh with > no > problems. Only my account is rejected. > > Thank you for your help, > Ivan > > > ----- > > Hello Ivan: > > Have you confirmed that all of your local files have the correct > permissions *and* ownership? Are you the appropriate owner of your own > directory? > > Mike Hi Mike, Yes, all of the files/directories in my home directory have the right=20 ownership. I do not know what you mean by "right permission" since each type=20 of file can have different permissions. If you meant the permissions in my=20 ~/.ssh directory they are: bash-2.05b$ ll total 234 drwx------ 2 ivan ivan 512 Nov 19 22:05 . drwxr-xr-x 28 ivan ivan 198656 Nov 20 21:04 .. -rw-r--r-- 1 ivan ivan 595 Nov 19 22:05 authorized_keys -rw------- 1 ivan ivan 668 Nov 19 22:00 id_dsa -rw-r--r-- 1 ivan ivan 595 Nov 19 22:00 id_dsa.pub -rw-r--r-- 1 ivan ivan 1817 Nov 20 14:20 known_hosts Another interesting thing that I missed before in var/log/messages is : .... sshd[45489]: error: PAM: success for ivan from ........ .... while in /var/log/auth.log I see: sshd[45489]: Failed keyboard-interactive/pam for ivan from ... port 56269 ssh2 Thanks for your help, Ivan --------- This may be a stretch but I know that SSH can be quite finicky about directory permissions. Try setting your .ssh directory to 0700. I think the go+x on the directory itself may be causing you problems. Mike