X-Spam-Check-By: sourceware.org Date: Thu, 24 Nov 2005 12:26:16 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Cygwin connection closing running on Server 2003 Message-ID: <20051124112616.GB2999@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4384D01C DOT 1020502 AT harvard DOT edu> <438531D2 DOT 70207 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <438531D2.70207@cygwin.com> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 Nov 23 22:21, Larry Hall (Cygwin) wrote: > On 11/23/2005, Jack Romano wrote: > >I am running Cygwin 1.5.18 on Windows Sever 2003 with all current updates. > >My problem pertains to OpenSSH 4.2p1-1. I ran the setup script for OpenSSH > >and used the tool to import my Windows users. I am able to connect to the > >server both locally and from other machine and am prompted for my > >password. When I give an erroneous password I am told so. When I give a > >correct password I am given the "Last Login:..." message (which is > >correct) but then immediatly "Connection to localhost closed." (localhost > >replaced by the server name when not connecting locally) and an error 255. > >This happens for all users (including the Administrator user) and locally > >and remotely. I have noticed that if after I submit my password I start > >tapping keys quickly the connection stays open untill I stop -- even for a > >fraction of a second. I have reinstalled OpenSSH and then Cygwin to no > >avail. > > > >I have attached the verbose output of the ssh connection to the server. > >The OpenSSH log does not log this failure. > > > >Any insight would be appreciated. > > I have a vague recollection of folks having problems like this when they > didn't have correct permissions on their login directory. You might check > this. If you can't find the problem this way, try turning off "StrictModes" > in '/etc/sshd_config' Before you do that, try running ssh-user-config for each user having this problem. ssh-user-config tries to create correct permissions so that sshd can access everything. But as usual, YMMV. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- 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/