This is the mail archive of the cygwin@cygwin.com 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]

sshd error: setsockopt SO_KEEPALIVE


Hello,

I've a complete cygwin installation from 21.01.2003 under W2k SR2.

Trying 'ssh localhost' I get the error:
ssh_exchange_identification: Connection closed by remote host

In the windows eventlog I've found:
...
Ereignisinformationen: sshd : Win32 Process Id = 0x338 : Cygwin
Process Id = 0x338 : error: setsockopt SO_KEEPALIVE: Socket operation
on non-socket.

My ssh configuration seems to be ok. IMHO I've checked all neccessary dirs, 
files and access rights. So I changed the ownership of '/etc/ssh*' to me and
tried
to start sshd in debug-mode:

$ sshd -d
debug1: sshd version OpenSSH_3.5p1
debug1: private host key: #0 type 0 RSA1
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from 127.0.0.1 port 2590
Segmentation fault (core dumped):

The output of 'strace -o sshd.log -w sshd -ddd' is attached.
Just as 'cygcheck -s -v -r > cygcheck.out' and 
the 'sshd.exe.coredump'.

BTW, wsock32.dll and ws2_32.dll are identical to those
from w2k SR2. getfacl shows for both:

# owner: Administrator
# group: SYSTEM
user::rwx
group::rwx
mask:rwx
other:rwx

Any help would be appreciated,

Bernd
-- 
 <<cygcheck.out.bz2>>  <<sshd.exe.stackdump.bz2>>  <<sshd.log.bz2>> 

Attachment: cygcheck.out.bz2
Description: Binary data

Attachment: sshd.exe.stackdump.bz2
Description: Binary data

Attachment: sshd.log.bz2
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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