Mail Archives: cygwin/2007/08/01/06:45:31
Thorsten,
Thank you very much for trying to help me, I appreciate it. I have tried
many different things to get this working including erasing my old
cygwin folder and reinstalling cygwin.
The instruction you supplied executes without error, but when I try to
start the sshd service, it still will not start and looking in
the /var/log/sshd.log file, I still see the same error message.
Could my problems be caused because I am a Windows domain user?
When I ran bash the first time after reinstalling, it said I needed to
run a command and redirect its output to /etc/passwd and another command
redirected to /etc/group
After doing that I looked in those files and I noticed there were
hundreds of users listed, practically everyone from the domain I think.
I ended up erasing most of the lines, leaving my user, the sshd user,
SYSTEM, Administrators and Administrator in the passwd file, and not
touching the group file... Maybe I messed up...
Any help is appreciated, thanks.
J
On Tue, 2007-07-31 at 21:21 +0100, Thorsten Kampe wrote:
> * Jean-Claude Gervais (Tue, 31 Jul 2007 15:21:35 -0400)
> > Hello, after installing the very latest version of cygwin and running
> > the sshd install script, I am having problems getting the ssh daemon to
> > run:
> >
> > $ /usr/bin/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
> > Warning: The following function requires administrator privileges!
> > Should this script create a local user 'sshd' on this machine? (yes/no)
> > yes
> > Generating /etc/sshd_config file
> >
> > Host configuration finished. Have fun!
> >
> > user AT host ~
> > $ net start sshd
> > The CYGWIN sshd service is starting.
> > The CYGWIN sshd service could not be started.
> >
> > The service did not report an error.
> >
> > More help is available by typing NET HELPMSG 3534.
> >
> >
> > user AT host ~
> > $ telnet localhost 22
> > Trying 127.0.0.1...
> > telnet: Unable to connect to remote host: Connection refused
> >
> >
> > -.-.-.-.-.-.- contents of /var/log/sshd.log
> > /var/empty must be owned by root and not group or world-writable.
> >
> >
> > How can I resolve this?
> > Thanks in advance
>
> chmod 755 /var/empty
>
>
> --
> 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/
>
--
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 -