delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/04/06:19:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A780E37.1030000@gmail.com>
Date: Tue, 04 Aug 2009 11:32:23 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: running MS link.exe under Cygwin sshd?
References: <COL101-W6420ECCCE6BAB2AC292B88E60C0 AT phx DOT gbl>
In-Reply-To: <COL101-W6420ECCCE6BAB2AC292B88E60C0@phx.gbl>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Jay K wrote:
> Friend also found freesshd works and will use that.
> So 3 out of 4 sshd work, Cygwin sshd is the only one that doesn't.

  Wrong.  That is uninformed speculation and guesswork.  Stop spreading
misinformation.

  Cygwin SSHD has had the support for fully logging in as any user since 1.7, as
you have already been told and completely ignored.  Go and read the manual.  The
link was in the previous email I sent in this thread.

  freesshd works exactly as Cygwin *used* to before it got subauth support: when
you log in with a key, rather than a password, you just end up as an admin user.
    http://www.freesshd.com/index.php?ctt=forum&action=view&topic=1236283239

  This post here:
    http://www.freesshd.com/index.php?ctt=forum&action=view&topic=1239024431
also makes it clear that freesshd has the same limitations as cygwin-1.5 sshd:
if you log in by pubkey you have to run the service under the account you want
to log in as, it can't setuid unless you log in with a password.

  Therefore if freesshd is working for your friend, cygwin sshd would _also_
work *even without subauth*, if you installed it to run the service under the
same (administrative?) account that freesshd is using.

  Take-home message:  *Cygwin SSHD works fine - you've just configured it wrong.*

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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