[cygwin] ssh server immediately closing connection
Jason Pyeron
jpyeron@pdinc.us
Wed Sep 2 20:21:53 GMT 2020
> -----Original Message-----
> From: Leroy Tennison
> Sent: Wednesday, September 2, 2020 3:49 PM
>
> Attempting to connect using blah@1.2.3.4 (the user and IP address have been obfuscated), the first
> time I'm prompted to accept the host's fingerprint and, after I do, the connection is immediately
> closed. Trying again I get an immediate "Connection closed by 1.2.3.4 port 22". I have tried both
> 32-bit and 64-bit Cygwin (after removing what was previously installed). I used ssh-host-config and
> ssh-user-config for setup, the lines in sshd_config which aren't commented out are:
>
> StrictModes no
> AuthorizedKeysFile .ssh/authorized_keys
> Subsystem sftp /usr/sbin/sftp-server
Please detail the windows service configuration. I see that you are running as cyg_server account. Please try as SYSTEM.
Please confirm the issue is the same in the windows event log
-Jason
More information about the Cygwin
mailing list