Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
To: cygwin@cygwin.com
From: Christopher Cobb <ccobb@email.com>
Subject: Re: sshd automatically close connection after successful login
Date: Thu, 19 Aug 2004 22:07:58 +0000 (UTC)
Lines: 29
Message-ID: <loom.20040820T000409-722@post.gmane.org>
References: <41247EBA.9040002@childresslaw.net> <20040819105720.GA11920@cygbert.vinschen.de> <loom.20040819T220405-166@post.gmane.org> <loom.20040819T231846-435@post.gmane.org> <Pine.GSO.4.61.0408191732280.2589@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 162.70.244.40 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.8)
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Igor Pechtchanski <pechtcha <at> cs.nyu.edu> writes:

> > Christopher Cobb <ccobb <at> email.com> writes:
> > 
> > I restarted sshd, but I still get:
> > 
> >     $ ssh Administrator <at> momtst5
> >     Administrator <at> momtst5's password: 
> >     Connection to momtst5 closed.
> > 
> > The connection closes immediately as others have mentioned.
> > 
> > Is that the form of -r that you mean?
> 
> Yes, but you have to reinstall the sshd service, not just restart sshd, 
> i.e.,
> 
> cygrunsrv -E sshd; cygrunsrv -R sshd; ssh-host-config; cygrunsrv -S sshd
> 
> HTH,
> 	Igor


Yes, that's what I did before, and I did it again just to make sure, and I still
get an immediate "Connection to xxx closed." after typing my password.

That's the right -r isn't it?  Is there something else that needs to be done?




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

