X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <0100B774-FE88-4513-8AEA-6F815B97CD93 AT von-campe DOT com> Subject: RE: Can not log in to recently enabled/configured sshd service Date: Wed, 6 Feb 2008 14:55:10 -0000 Message-ID: <040d01c868d0$453a15e0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <0100B774-FE88-4513-8AEA-6F815B97CD93@von-campe.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 06 February 2008 14:41, Alfred von Campe wrote: > debug1: Host 'gandalf' is known and matches the RSA host key. > debug1: Found key in /home/av16209/.ssh/known_hosts:101 > debug1: ssh_rsa_verify: signature correct > debug1: SSH2_MSG_NEWKEYS sent > debug1: expecting SSH2_MSG_NEWKEYS > debug1: SSH2_MSG_NEWKEYS received > debug1: SSH2_MSG_SERVICE_REQUEST sent > debug1: SSH2_MSG_SERVICE_ACCEPT received > debug1: Authentications that can continue: > publickey,password,keyboard-interactive > debug1: Next authentication method: publickey > debug1: Offering public key: /home/av16209/.ssh/id_rsa > Connection closed by 139.68.133.49 > > The home directory defined in the Cygwin /etc/passwd file is "// > nasbox/av16209" which is the same home directory used on the Linux > system that I initiated the ssh connection from (only there it's > mounted as "/home/av16209"). I have got passwordless ssh access > working from all my Linux systems, so that part is set up correctly. > > Any ideas as to why this is failing on the Cygwin side? How do the perms on /home/av16209/.ssh/* look? How do they look with CYGWIN=smbntsec? sshd is very strict about not allowing logins if the key files have loose perms. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/