X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 9 Feb 2011 11:37:31 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: after ssh connection is getting closed Message-ID: <20110209103731.GA16194@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4A2CF3C24E05B348A46BAF5A7C4593D40F8E9001 AT BTCMVEXC1-PRD DOT hq DOT netapp DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4A2CF3C24E05B348A46BAF5A7C4593D40F8E9001@BTCMVEXC1-PRD.hq.netapp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 Feb 9 12:14, Sarkar, Kaushik wrote: > After connecting through ssh immediately my connection is getting > closed. I can't reproduce this problem, neither with Cygwin 1.7.7, nor with the latest Cygwin from CVS, neither with OpenSSH 5.6, nor 5.7, nor 5.8. However, I *could* reproduce it on my machine when trying to login using another account than my own. After some digging it turned out that one of my DLLs in /bin had 700 permissions, rather than the correct 755 permissions. That was a result of some debugging I did a couple of days back. Anyway, after fixing that, the login worked fine. Just calling `chmod 755 /bin/*.dll' did the trick. Here's another potential cause: Right now there appears to be a problem with the latest bash (see the mailing list archives of the last few days), but for some unknown reason the problem doesn't manifest on all machines. I assume you didn't only update cygwin or openssh, but all packages. Restart setup and revert bash to the older 3.2.51-24 and see if it fixes your problem. Or, set the login shell of the account you're trying to login to to /bin/dash, or /bin/tcsh, or any other non-bash shell available. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple