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

In troubleshooting I stopped the Cygwin sshd service, used "Run as 
Administrator" for a command prompt, then ran cygwin.bat and afterward ran: 
/usr/sbin/sshd -d -de -f /etc/sshd_config.  The result was "seteuid 1050745: 
Operation not permitted" right before the server shut down.

Searching the web indicated the problem might be that the service account 
didn't have "Act as part of the operating system" and "create a token object" 
privileges although the situation was different (I'm not consciously using 
LSA).  However, running the service as the local system account and a created 
user account with these privileges (and being a member of the Administrators 
group) produced the same result.

In the attached file I have replaced the real user ID with "blah" and part of 
the domain/host name with XYZQ using vi's search-and-replace.  No other changes 
were made.

Are there other troubleshooting steps I can take or a solution to this issue?  
Thanks for your help.
Leroy Tennison
Network Information/Cyber Security Specialist
E: le...@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.
 

Attachment: cygcheck.out
Description: cygcheck.out

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

Reply via email to