X-Spam-Check-By: sourceware.org Message-ID: <46D71B34.1030603@cygwin.com> Date: Thu, 30 Aug 2007 15:32:04 -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: <59579 DOT 1188500044 AT trupoetry DOT com> In-Reply-To: <59579.1188500044@trupoetry.com> 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 A few quick comments: Jeremy K. Truax wrote: > Hi all > > > > I've been trying to get sshd running on Cygwin on Windows XP. Just to > give a quick summary of the problem, I'll start up the sshd service and > try to connect from another machine or even from localhost and it will > hang. So I have been trying to get it working by just running it from the > cygwin command line, like so: > > > /usr/sbin/sshd -ddd > 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. > Connection from 127.0.0.1 port 1195 I hope the above is a typo/wrong example. > > I tried searching around for that winsock error but didn't find much from > that either. $ net helpmsg 10038 An operation was attempted on something that is not a socket. > As for how I set this up, I just had a clean windows xp install, disabled > the firewall, installed Cygwin, selected openssh to be installed. Then I ran > ssh-host-config and said yes to all prompts (Note: I did try this without > privsep both on and off but still had the same problems). I've also tried to > refresh /etc/passwd and /etc/group by doing: Why didn't you run ssh-user-config too? -- 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/