delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/23/22:22:14

X-Spam-Check-By: sourceware.org
Message-ID: <438531D2.70207@cygwin.com>
Date: Wed, 23 Nov 2005 22:21:54 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0
MIME-Version: 1.0
To: Jack Romano <jack_romano AT harvard DOT edu>
CC: cygwin AT cygwin DOT com
Subject: Re: Cygwin connection closing running on Server 2003
References: <4384D01C DOT 1020502 AT harvard DOT edu>
In-Reply-To: <4384D01C.1020502@harvard.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 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'

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019