delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/18/17:17:01

X-Spam-Check-By: sourceware.org
Message-ID: <15756-64409@sneakemail.com>
Date: Sun, 18 Feb 2007 23:16:38 +0100
From: "Michael" <bgn7a3m02 AT sneakemail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: problem installing cygwin+sshd
In-Reply-To: <eragtc$2aa$1@sea.gmane.org>
MIME-Version: 1.0
References: <4750-32499 AT sneakemail DOT com> <er9u3d$d74$1 AT sea DOT gmane DOT org> <31389-25452 AT sneakemail DOT com> <era0l8$ahk$1 AT sea DOT gmane DOT org> <29966-88389 AT sneakemail DOT com> <era6mj$tt4$2 AT sea DOT gmane DOT org> <29969-23293 AT sneakemail DOT com> <eraa5b$9vr$1 AT sea DOT gmane DOT org> <86772a380702181254l5498af9ek75a1b4d2ca9a2e21 AT mail DOT gmail DOT com> <eragtc$2aa$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> > 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 ...)

michael

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019