public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Issue with seteuid and openssh
@ 2022-05-24 22:15 Dale Lobb
  2022-05-25 17:51 ` Achim Gratz
  2022-05-26 23:39 ` Stephen Carrier
  0 siblings, 2 replies; 5+ messages in thread
From: Dale Lobb @ 2022-05-24 22:15 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Greetings All,

  Has anyone seen an issue similar to this?

  I have a VMWare virtual machine loaded with Windows Server 2016 OS and a Cygwin installation.  Cygwin runs an installed SSHD service via cygrunsrv.exe.  A data gateway engine on a different machine makes regular programmatic connections via SFTP to the server throughout the day.  This setup was established in 2021 and has run without issue for almost a year.

  Last night, the server rebooted automatically after windows updates.  After the reboot, the data gateway was then no longer able to connect to the server.  This condition persisted until I was informed of the issue this morning and connected to the Windows server using RDP to take a look at the issue, at which point the SSH connection suddenly started working.  Further tests showed this to be entirely repeatable.  After rebooting the server, the SSHD daemon does not allow connections, neither with password nor public key authorization, until someone connects to the server via RDP, at which time the SSH connections suddenly starts working again.

  The server's Windows application event log shows numerous errors from the SSHD daemon stating "sshd: PID <####>: fatal: seteuid 197108: No such device or address" during the time frame when SSH connection were not working.  The errors stop immediately when the RDP connection is recorded in the same event log.

  A google search for the error message turned up something somewhat similar from this mailing list back in March of 2019, bit there is no mention of RDP in that exchange.  Also, the advice given, to convert the SSHD service from running under the cyg_server account to LocalSystem, does not apply here, because the Cygwin installation is recent enough that it is already running under LocalSystem.

  When this issue started, the server was running openssh-8.7p1-1.  The server was subsequently updated to the latest, openssh-9.0p1-1, but there has been no change in the observed behavior.

Best Regards,

Dale Lobb



________________________________

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipients and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-14  1:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 22:15 Issue with seteuid and openssh Dale Lobb
2022-05-25 17:51 ` Achim Gratz
2022-05-26 23:43   ` Stephen Carrier
2022-07-14  1:47     ` EXTERNAL SENDER: " Dale Lobb
2022-05-26 23:39 ` Stephen Carrier

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).