public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Porting SSHD to WinNT
@ 2002-02-08  4:32 Niclas Bäckman (ERA)
  2002-02-08  5:40 ` Hack Kampbjørn
  0 siblings, 1 reply; 2+ messages in thread
From: Niclas Bäckman (ERA) @ 2002-02-08  4:32 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Hi !
I'm currently working with porting a sshd server to WinNT.

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

Thanks in advance for any hints/solutions in this matter !
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.backman@era.ericsson.se
> 
> 

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Porting SSHD to WinNT
  2002-02-08  4:32 Porting SSHD to WinNT Niclas Bäckman (ERA)
@ 2002-02-08  5:40 ` Hack Kampbjørn
  0 siblings, 0 replies; 2+ messages in thread
From: Hack Kampbjørn @ 2002-02-08  5:40 UTC (permalink / raw)
  To: Niclas Bäckman; +Cc: 'cygwin@cygwin.com'

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.backman@era.ericsson.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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-08 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-08  4:32 Porting SSHD to WinNT Niclas Bäckman (ERA)
2002-02-08  5:40 ` Hack Kampbjørn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).