public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Struggling to setup sshd with Windows Vista
@ 2007-12-23 12:48 Kevin Hilton
  2007-12-23 19:12 ` Kevin Hilton
  0 siblings, 1 reply; 13+ messages in thread
From: Kevin Hilton @ 2007-12-23 12:48 UTC (permalink / raw)
  To: cygwin

Where to start??

I attempting to setup the sshd within Windows Vista.  For this OS
documentation seems scant.
openssh version OpenSSH_4.7p1, OpenSSL 0.9.8g 19 Oct 2007

At this point I dont care about priviledge separation.  I can use it,
or not.  I attempted to setup the daemon using ssh-host-config and
answered yes to using privledge separation.
Now Im stuck since I cant undo the process.

Im find the /usr/share/doc/openssh/README.privsep file not to be all
that helpful


Currently Im getting the following:
$ net start sshd
System error 1069 has occurred.

The service did not start due to a logon failure.

With /var/log/sshd.log Im finding:
Privilege separation user sshd does not exist

Here is my setup:
$ ssh-host-config
Overwrite existing /etc/ssh_config file? (yes/no) yes
Generating /etc/ssh_config file
Overwrite existing /etc/sshd_config file? (yes/no) yes
Privilege separation is set to yes by default since OpenSSH 3.3.
However, this requires a non-privileged account called 'sshd'.
For more info on privilege separation read /usr/share/doc/openssh/README.privsep
.

Should privilege separation be used? (yes/no) yes
Generating /etc/sshd_config file

Host configuration finished. Have fun!

$ more /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-Darien\Administrator,S-1-5-21-22494
56148-3830241392-4138796912-500:/home/Administrator:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-Darien\Guest,S-1-5-21-2249456148-3830241392
-4138796912-501:/home/Guest:/bin/bash
IUSR_NMPR:unused_by_nt/2000/xp:1000:513:IUSR_NMPR,U-Darien\IUSR_NMPR,S-1-5-21-22
49456148-3830241392-4138796912-1000:/home/IUSR_NMPR:/bin/bash
klal:unused_by_nt/2000/xp:1001:513:U-Darien\klal,S-1-5-21-2249456148-3830241392-
4138796912-500:/home/klal:/bin/bash
sshd:unused_by_nt/2000/xp:1002:513:sshd privsep,U-Darien\sshd,S-1-5-21-224945614
8-3830241392-4138796912-1002:/var/empty:/bin/false

Its obvious I need to do something more with the sshd user?? What do I do?

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

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

end of thread, other threads:[~2007-12-24 14:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-23 12:48 Struggling to setup sshd with Windows Vista Kevin Hilton
2007-12-23 19:12 ` Kevin Hilton
2007-12-23 19:12   ` Brian Dessent
2007-12-23 19:12     ` Thorsten Kampe
2007-12-23 19:12       ` Brian Dessent
2007-12-24  1:21   ` Kevin Hilton
2007-12-24  2:19     ` Kevin Hilton
2007-12-24  2:40       ` Larry Hall (Cygwin)
2007-12-24  5:12       ` Kevin Hilton
2007-12-24 14:03         ` Morgan Gangwere
2007-12-25 14:58         ` Kevin Hilton
2007-12-24 16:24     ` Brian Dessent
2007-12-25  1:01       ` Jerry DeLisle

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