SSH and session master multiplexing

ne shanehird@hotmail.com
Sun Jun 12 08:18:00 GMT 2005


Im having some issues with the latest version of OpenSSH released for cygwin
(under WinXP SP2).

I am trying to connect to ssh.sf.net with a master connection that is
shared. I am using:
>ssh -vv -l user -M -S ~/.ssh/sf-mux ssh.sf.net
To create the master, then:
>ssh -l user-vv -S ~/.ssh/sf-mux ssh.sf.net

to create a client. I am using keys for the authentication, but have tried
passwords too.

When I try to create a client, in the master session I get:

debug1: fd 8 clearing O_NONBLOCK
debug2: client_process_control: accepted tty 1, subsys 0, cmd
debug2: client_process_control: got fds stdin 4257601, stdout 4257601,
stderr 4257601
client_process_control: tcgetattr: Bad file descriptor
fcntl(4257601, F_GETFL, 0): Bad file descriptor
fcntl(4257601, F_GETFL, 0): Bad file descriptor
fcntl(4257601, F_GETFL, 0): Bad file descriptor
debug2: fd 8 setting O_NONBLOCK
debug1: channel 1: new [client-session]
debug2: channel 1: send open
Segmentation fault (core dumped)

And both ssh sessions terminate. Anyone know whats going on? I have tried
other hosts and even the local host (using sshd) with exactly the same
result. Im guessing its something to do with file based sockets under
Windows - but Im hoping theres a way around it.

The stack dump is as follows:

Exception: STATUS_STACK_OVERFLOW at eip=61106323
eax=0000CEF0 ebx=00081EEC ecx=00032EA0 edx=000207BA esi=00081EF0
edi=FFFFFFFF
ebp=0022EC18 esp=000A8E98 program=C:\cygwin\bin\ssh.exe, pid 3304, thread
main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022EC18  61106323  (0040F742, 1003B3E0, 100BD2D0, 000A8EC4)
0022ECD8  610A087F  (0022ED20, 0022ED24, 0022ED28, 0022ED2C)
0022EDB8  00408076  (00000001, 0000007E, 00000000, 00000002)
0022EDD8  004031EE  (1002D538, 61824168, 1002F170, 0043ED40)
0022EFA8  00401E19  (00000000, 6182410C, 100200A8, 0022F000)
0022EFE8  61006A1D  (0022F000, 0022F020, 0022F368, 0022F880)
0022FF88  61006E41  (00000000, 00000000, 00000000, 00000000)
End of stack trace


Thanks,
Shane





--
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/



More information about the Cygwin mailing list