X-Spam-Check-By: sourceware.org Message-ID: <46D725D1.5010302@cygwin.com> Date: Thu, 30 Aug 2007 16:17:21 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.5.24: sshd immediately disconnects upon receiving a connection References: <46D71B34 DOT 1030603 AT cygwin DOT com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Jeremy K. Truax wrote: >> Since you're starting things this way, I assume you realize the >> limitations >> it imposes and the issues you will need to deal with when you migrate > back >> to running this as a service. If you don't, I recommend just wiping your >> installation and reinstalling (this isn't required but it's often easier >> than tracking down all the files that need fiddling with and doing so). >> Once reinstalled, you can accomplish the same thing from a system-owned >> shell (search the email archives for the recipe). This way allows you to >> do the debugging you want without polluting the service configuration. > > > Thanks for that info. Once I figure out the problem, I'll try just wiping > the install then before running it as a service again. OK. The way you're running it, though, means that the user that you log in as must be the same user as is running 'sshd'. Are you using password or pubkey authentication? Your better off with password in this case. >>> Connection from 127.0.0.1 port 1195 >> >> I hope the above is a typo/wrong example. > > > Why is that? That's my connection from another cygwin window from localhost > (ssh localhost). The port 1195 I'm guessing is the client's port. Am I > wrong in thinking that? > > When trying from another computer I get a similar message: > > Connection from 10.10.2.27 port 57735 My mistake. >> Why didn't you run ssh-user-config too? >> > > Actually I did try that as well. It had the same result. Yeah, go with password. > Appreciate any other suggestions, thanks. Any way you can work with the system directly, rather than through the terminal server? It might help eliminate a variable. Setting up sshd on a TS here (and sshing to localhost from the TS) worked OK for me but in my case, I don't have the choice of running sshd as a service or using privilege separation because my user on the TS is not privileged. ;-) In actuality, it sounds like this is indeed a socket problem. Any chance you have some other anti-virus/anti-spyware/firewall on this system? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/