* Did I mess up my mailing list subscription?
@ 2020-09-04 19:10 Leroy Tennison
0 siblings, 0 replies; only message in thread
From: Leroy Tennison @ 2020-09-04 19:10 UTC (permalink / raw)
To: cygwin
I subscribed to this list two days ago, didn't get any response. I posted a message titled "ssh server immediately closing connection" on Sep 2 19:49:26 GMT 2020 which received questions as a response but I never got an email so I'm having to reply with a new post - I'm sorry, I don't know what else to do. If I need to re-submit a subscription request please let me know.
I was asked:
1) Please detail the windows service configuration.
$ cygrunsrv -V -Q 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
Process Type : Own Process
Startup : Automatic
Dependencies : tcpip
Account : LocalSystem
Note: /var/log/cygsshd.log is zero length
C:\Windows\system32>sc qc cygsshd
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: cygsshd
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : D:\cygwin\bin\cygrunsrv.exe
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : CYGWIN cygsshd
DEPENDENCIES : tcpip
SERVICE_START_NAME : LocalSystem
2) I see that you are running as cyg_server account. Please try as SYSTEM.
I got the same result running as system (note LocalSystem above)
3) Please confirm the issue is the same in the windows event log
Checking the log for a service with both a Local System and cyg_server, the entries were identical in detail (abbreviated)
The description for Event ID 0 from source sshd cannot be found.
Running as LocalSystem:
[ UserID] S-1-5-18
sshd: PID 3103: fatal: seteuid 1050745: No such device or address
Running as cyg_server:
[ UserID] S-1-5-21-286763150-81293845-2154422431-1017
sshd: PID 3122: fatal: seteuid 1050745: No such device or address
I even tried running in "single instance mode" (or whatever it's called when you run sshd directly from the terminal as I did previously) and launched strace in an administrative command prompt (after determining the Windows pid with ps -W). The result was a few zero return codes.
Leroy Tennison
Network Information/Cyber Security Specialist
E: leroy@datavoiceint.com
2220 Bush Dr
McKinney, Texas
75070
www.datavoiceint.com
This message has been sent on behalf of a company that is part of the Harris Operating Group of Constellation Software Inc.If you prefer not to be contacted by Harris Operating Group please notify us.
This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or
confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-04 19:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 19:10 Did I mess up my mailing list subscription? Leroy Tennison
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).