Mail Archives: cygwin/2005/09/11/18:21:04
Evan Cooch wrote:
[snip]
> OK - have now gone through said README twice. Somewhat helpful, but
> largely obtuse in places.
>=20
> e.g., "If you start sshd as deamon via cygrunsrv.exe you MUST give the
> "-D" option to sshd. Otherwise the service can't get started at all."
>=20
> Meaning, what? You pass -D as an argument when invoking cygrunsrv
> --start sshd? Hmmm...trying that gives the error message that -D is not
> a valid option for sshd - which makes the text in the README hard to
> interpret.
There is an example of what that means in the file cygrunsrv.README which s=
ays:
sshd:
cygrunsrv --install sshd \
--path /usr/sbin/sshd \
--args -D
this is what the script should be doing.
>> Other than that, look at your event log and see if there is any further
>> information about the failed service startup.
>=20
> Nothing...
Nothing? On a working sshd service I get the start and stop events.
[snip]
> OK - now I know what you're after. I re-downloaded setup.exe, ran it,
> and tried BOTH text, and binmode (i.e., tried it with text mode - then
> after deleting c:\cygwin, tried again with binmode).
Don't try text mode.
[snip]
> Each time when I run ssh-host-config (following a clean install of
> cygwin), it
>=20
> 1. generates the keys
> 2. asks about using privilege separation
>=20
> And thats it - it doesn't ask me for anything else - it doesn't ask if I
> want to create 'sshd' as a local user, or if I want in install as a
> service, or anything after the privilege separation query.
>=20
> When I run ssh-host-config -d (i.e., in debug mode) as suggested, there
> was nothing obvious about why it exited - there were no error messages
> at all. It simply said I was finished. Is there a log file I should
> look at (and post here) that might help suss out what its not working?
Post the last lines of that debug run, let's see were it ended and we can
probably deduce what went wrong.
> So, I'm wondering if at this point I should manually do what
> ssh-host-config is apparently refusing to do - if this is an option,
> could someone provide the basic steps?
Follow Chris advice, if ssh-host-config fails then post the last lines of t=
he
debug output and lets start again from there.
--=20
Ren=E9 Berber
--
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 -