X-Spam-Check-By: sourceware.org Message-ID: <45D8D582.1@cygwin.com> Date: Sun, 18 Feb 2007 17:38:58 -0500 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.0.9) Gecko/20061221 Fedora/1.5.0.9-1.fc4.remi Thunderbird/1.5.0.9 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: problem installing cygwin+sshd References: <4750-32499 AT sneakemail DOT com> <31389-25452 AT sneakemail DOT com> <29966-88389 AT sneakemail DOT com> <29969-23293 AT sneakemail DOT com> <86772a380702181254l5498af9ek75a1b4d2ca9a2e21 AT mail DOT gmail DOT com> <15756-64409 AT sneakemail DOT com> In-Reply-To: <15756-64409@sneakemail.com> Content-Type: text/plain; charset=ISO-8859-1; 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 Michael wrote: >> > ok - here listed what I did (sorry for the long listing): >> > ---cut--- >> > 01. $ cygrunsrv -R sshd >> > 02. remove registry-keys: HK(CU|LM)->SOFTWARE->Cygnus Solutions >> > 03. remove windows/user sshd >> > 04. rename c:\cygwin to c:\cygwin_1 >> > 05. run http://www.cygwin.com/setup.exe from user ladmin member of >> > group local admins >> > - install from internet >> > - install for all users >> > - added packages: openssh, tcp_wrappers >> > 06. $ mkpasswd -cl > /etc/passwd >> > 07. $ mkgroup -l > /etc/group >> > 08. $ ssh-host-config >> > - privilege separation -> yes >> > - install sshd as service -> yes >> > - CYGWIN=ntsec tty >> >> Don't add tty, use only ntsec. > > ok, I changed my Windows-env-variable CYGWIN to "ntsec" and > $ cygrunsrv -R sshd > $ ssh-host-config > - always -> yes > - CYGWIN=ntsec > >> Everything else looks fine... >> >> [snip] >> > 19. $ /usr/sbin/sshd -D >> > 20. $ ssh localhost date # (from 2nd cygwin-window) >> > ladmin AT localhost's password: >> > Sun Feb 18 21:52:18 WEST 2007 >> > ---cut--- >> >> What happened? Did you login or not? It looks like you did. > > yes, I was able to login successfully and executed the "date"-command > "remotely". > > so what is wrong with my installation (fyi - I did the same steps 2 > days ago on a similar machine -> same error ...) Hm. What exactly is the point to showing us a sequence of steps that results in a working install on one machine rather than the details of the failure of these steps on another? Perhaps the point of this merry chase has been lost on me through this protracted thread. Anyway, if you're suggesting that the above steps do not provide a running 'sshd' on some other system, please try running it _on that system_ as debug. That should tell you what 'sshd' has a problem with. If there's no issue there, check the Windows event log. If you can't interpret the feedback you're getting from this sleuthing, please send information about your process, errors, configuration, setup, etc., to this list and hopefully someone will be able to spot the issue. -- 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/