delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/20/04:12:18

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
Date: Fri, 20 Aug 2004 10:12:34 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sshd automatically close connection after successful login
Message-ID: <20040820081234.GI10590@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <41247EBA DOT 9040002 AT childresslaw DOT net> <20040819105720 DOT GA11920 AT cygbert DOT vinschen DOT de> <loom DOT 20040819T220405-166 AT post DOT gmane DOT org> <loom DOT 20040819T231846-435 AT post DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0408191732280 DOT 2589 AT slinky DOT cs DOT nyu DOT edu> <loom DOT 20040820T000409-722 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20040820T000409-722@post.gmane.org>
User-Agent: Mutt/1.4.2i
Note-from-DJ: This may be spam

On Aug 19 22:07, Christopher Cobb wrote:
> Igor Pechtchanski <pechtcha <at> cs.nyu.edu> writes:
> > 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

I just added resp. removed the -r from the appropriate registry key 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sshd\Parameters
and restarted sshd.

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

Yes, sure.  It's not helpful to see it failing and then do nothing else.
What does the logs show?  Did you try starting sshd in debug mode from
the command line (Dont' forget to change ownership of /etc/ssh* and
/var/empty)?  Talking about reading the mailing list:
http://cygwin.com/ml/cygwin/2004-08/msg00625.html


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto: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/

- Raw text -


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