This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSHD install problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]