X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "jameshanley39 AT yahoo DOT co DOT uk" Subject: Re: cannot start sshd on cygwin- win xp Date: Mon, 19 Nov 2007 16:18:19 +0000 (UTC) Lines: 41 Message-ID: References: <47266DFE DOT 6090006 AT cygwin DOT com> <47419720 DOT 8060607 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 User-Agent: XanaNews/1.18.1.6 X-IsSubscribed: yes 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 Larry Hall (Cygwin) wrote: > jameshanley39 AT yahoo DOT co DOT uk wrote: > > Larry Hall (Cygwin) wrote: > > > > > jameshanley39 AT yahoo DOT co DOT uk wrote: > > > > a selection of all the error message I am getting. Messing > > > > around trying to start it. it doesn`t show up on netstat -an. > > > > I did install and uninstall a windows port of openssh, I don`T > > > > know if that messed things up. But nothing i easily do about > > > > that if it did.. > > > > > > Let's start here: > > > > > > Other than that, my WAG is that you need to reboot. > > > > prob a win xp problem, would be solved with a win xp repair. > > my mistake i was only trying to start it with things like net start > > sshd. > > > > Best tihng to do is just to run it. /usr/sbin/sshd > > That works. I don`t need to install it as a service. Installing it > > as a service and starting it, that was where the problem was. > > Some article on the net on the LRP site, about running sshd, only > > mentioned the "net start sshd" or "cygrunsrv -S sshd" method to > > start it. > > > The recommended way to run 'sshd' is as a service. If you run it > directly, it will run as the user that you start it as and you won't > be able to log in through 'ssh' as other users. This rather severely > limits 'sshd'. As for the 'LRP' site you mentioned, if you used that > site's information as a guide for installing and/or setting up ssh, > then any problems you have with subsequent operation should be > directed back to that site. We support only the tools > (ssh-host-config, ssh-user-config) and documentation (/usr/share/ > doc/Cygwin/openssh.README) that Cygwin provides. yes, i was not asking for support regarding information from another site. I replied with solutions or you may say a workaround, to the problem . So that they are in the archives for another newbie. -- 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/