Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Fri, 20 Aug 2004 10:12:34 +0200 From: Corinna Vinschen 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Note-from-DJ: This may be spam On Aug 19 22:07, Christopher Cobb wrote: > Igor Pechtchanski 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/