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]

cygrunsrv does not start cygsshd at boot


Hi,

Over the weekend, I did a fresh install of Windows 10 Pro x86_64
and then installed Cygwin x86_64 3.1.2. I ran ssh-host-config, and
cygsshd starts and works as expected when I run "cygrunsrv --start cygsshd".
But the cygsshd service is not started automatically when the system
reboots. I must start it manually after rebooting. Here's what cygrunsrv
says about the service:

Telemetry@ti29 ~
$ uname -a
CYGWIN_NT-10.0 ti29 3.1.2(0.340/5/3) 2019-12-21 15:25 x86_64 Cygwin

Telemetry@ti29 ~
$ cygrunsrv --verbose --query cygsshd
Service             : cygsshd             
Display name        : CYGWIN cygsshd
Current State       : Running
Controls Accepted   : Stop
Command             : /usr/sbin/sshd -D
stdin path          : /dev/null
stdout path         : /var/log/cygsshd.log
stderr path         : /var/log/cygsshd.log
Environment         : CYGWIN="nodosfilewarning" 
Process Type        : Own Process
Startup             : Automatic
Dependencies        : tcpip
Account             : LocalSystem

This matches the configuration I have on a previously installed system
running 3.0.7 that works correctly.

The log file /var/log/cygsshd.log is empty. I have attached the output
of "cygcheck -s -v -r > /tmp/cygcheck.out".

How do I fix and/or troubleshoot this? I need to find a way to get
cygsshd to start automatically when the system reboots.

Thanks,
Andy

Attachment: cygcheck.out
Description: Text document

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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