delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/08/08:40:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C63D53F.6E9BA432@hack.kampbjorn.com>
Date: Fri, 08 Feb 2002 14:40:15 +0100
From: Hack =?iso-8859-1?Q?Kampbj=F8rn?= <cygwin AT hack DOT kampbjorn DOT com>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,da,es,ca
MIME-Version: 1.0
To: Niclas =?iso-8859-1?Q?B=E4ckman?= (ERA) <Niclas DOT Backman AT era DOT ericsson DOT se>
CC: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Porting SSHD to WinNT
References: <A943FD84BD9ED41193460008C791805003693CBE AT ESEALNT419 DOT al DOT sw DOT ericsson DOT se>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g18Deh218511

Niclas Bäckman (ERA) wrote:
> 
> Hi !
> I'm currently working with porting a sshd server to WinNT.

Why, port it? Doesn't openssh work for you?

Install openssh and read `/usr/doc/Cygwin/openssh-3.0.2p1-5.README´

> 
> I have compiled it using Cygwin, but what about the user authentication?
> Is it mapped to Windows authentication in Cygwin, when I try to log in with
> my <domain>\<userid> the authentication fails on the server side.

Any special reason you want password authentication when cygwin's
openssh now supports RSA authentication?
 
> Do I need to use the windows API for user authentication here ?
> Have another question also, when requesting a shell, the sshd calls /bin/sh.
> This is a cygwin feature, shouldn't I go for a NT shell instead(cmd.exe) ??

If you want a *nix like solution then /bin/sh (or whatever shell is
specified is in /etc/passwd) is what you want, isn´t it?
Take a look at the archives there was some problems calling non-cygwin
programs. This may be fixed now.

> 
> Thanks in advance for any hints/solutions in this matter !

Most of your "hints" are in the documentation or the archives.

> Best Regards !
> /
> > Niclas Bäckman
> > Software Design | Security Solutions
> >
> > Ericsson Radio Systems AB
> > Center for Radio Network Control
> > Box 1248
> > 581 12 Linköping
> > Phone: +46 13 28 76 04
> > Mobile:073 0435819
> > email: niclas DOT backman AT era DOT ericsson DOT se

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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