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

SSH on Cygwin Immediate Drops Connections


I'm aware this question has been asked before, but I can't seem to get any
solution to work.  I'm running an SSHD server through Cygwin.  When I
attempt to connect to it, it says it connects, and then immediately drops me
before I get to the shell.  I get the following debug output.

Last login: Tue Sep  7 19:35:22 2004 from 127.0.0.1
debug1: permanently_set_uid: 1107/513
setreuid 1107: Permission denied
debug1: do_cleanup
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug2: channel 0: rcvd close
debug2: channel 0: close_read
debug2: channel 0: input open -> closed
debug3: channel 0: will not send data after close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cfd -1)

debug3: channel 0: close_fds r -1 w -1 e 7 c -1
Connection to localhost closed.
debug1: Transferred: stdin 0, stdout 0, stderr 33 bytes in 6.9 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 4.8
debug1: Exit status 255

I have looked at these lists and tried all the solutions.  I've added '-r'
to the sshd startup command.  I've turned off PrivSep.  I've downloaded and
installed the latest cygwin1.dll file from the snapshots directory.  I've
done all of these things together, seperately, etc.  None of them work.  I'm
at a complete loss about this.  Any help you can provide would be
appreciated.  Thanks in advanced.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]