X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <0100B774-FE88-4513-8AEA-6F815B97CD93@von-campe.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

