SSH and session master multiplexing

Sun Jun 12 11:14:00 GMT 2005

"Corinna Vinschen" <> wrote in message
> On Jun 12 10:37, ne wrote:
>> Im having some issues with the latest version of OpenSSH released for 
>> cygwin
>> (under WinXP SP2).
>> I am trying to connect to with a master connection that is
>> shared. I am using:
>> >ssh -vv -l user -M -S ~/.ssh/sf-mux
>> To create the master, then:
>> >ssh -l user-vv -S ~/.ssh/sf-mux
>> 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)
> Ouch, yes, I see.  There's nothing right now I can do to change this.
> Using a master/slave connection requires the ability to exchange file
> descriptors over AF_UNIX sockets.  That's not possible in Cygwin.
> So the only help I can give is, don't use master/slave connections on
> Cygwin for now.
> Corinna

Ok thanks, I thought that may be the case, a pity. I would have thought 
wanting a seamless-"pre-authenticated"-X11-forwarded connection to a unix 
box is something that would be highly desired and in common use under 
Cygwin, I guess not :(

Unfortuantly the solaris machine I connect to doesn't use keys, is there 
something else I could do which would allow me to run *local* xterms/rxvt's 
to this box without having to type in the password everytime? (I realise I 
can start remote xterms fine, but the remote terms aren't as good :P ).


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list