sshd win2003 CYGWIN_NT-5.2 1.7.7(0.230/5/3)

Drew Patten
Fri Aug 26 15:10:00 GMT 2011


Having an issue with Cygwin and sshd service starting.  This was working at one point and these machines were handed off to QA and now when deploying templates from said machine the Cygwin permissions seemed to be fubar'd.  When running Cygwin with any account we have a # prompt instead of a $ prompt and I not sure why.  I was able to get it working on one deployed machine but those steps don't seem to work on the other machines (all machines are identical).   

Typical error when attempting to start it (process starts via cyg_server user):

Administrator@w3r232-73 ~
# 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.

Administrator@w3r232-73 ~
# ls -ld /var/empty
drwxr-xr-x+ 1 cyg_server root 0 Mar  9 14:39 /var/empty

# ls -ld /etc/ssh*
-rw-r--r-- 1 ????????   root 1555 Aug 26 07:56 /etc/ssh_config
-rw------- 1 cyg_server None  668 Mar  9 14:39 /etc/ssh_host_dsa_key
-rw-r--r-- 1 cyg_server None  613 Mar  9 14:39 /etc/
-rw------- 1 frtest     root  227 Aug 25 14:48 /etc/ssh_host_ecdsa_key
-rw-r--r-- 1 frtest     root  178 Aug 25 14:48 /etc/
-rw------- 1 cyg_server None  988 Mar  9 14:39 /etc/ssh_host_key
-rw-r--r-- 1 cyg_server None  653 Mar  9 14:39 /etc/
-rw------- 1 cyg_server None 1675 Mar  9 14:39 /etc/ssh_host_rsa_key
-rw-r--r-- 1 cyg_server None  405 Mar  9 14:39 /etc/
-rw-r--r-- 1 ????????   root 3185 Aug 26 07:56 /etc/sshd_config

# cat /var/log/sshd.log
/var/empty must be owned by root and not group or world-writable.

The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: sshd: PID 1832: `sshd' service stopped, exit status: 255.

Any ideas on what else I can try?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 29491 bytes
Desc: cygcheck.out
URL: <>
-------------- next part --------------
Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list