Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-14 Thread Corinna Vinschen
On Feb 13 19:50, Charles Wilson wrote: > On 2/13/2012 9:00 AM, Corinna Vinschen wrote: > > Btw., connection sharing doesn't work on Cygwin. For this to work we > > need descriptor passing over AF_LOCAL sockets, which isn't implemented > > in Cygwin. > > Yes, please! (I know, I know, SHTDI). >

Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Charles Wilson
On 2/13/2012 9:00 AM, Corinna Vinschen wrote: > Btw., connection sharing doesn't work on Cygwin. For this to work we > need descriptor passing over AF_LOCAL sockets, which isn't implemented > in Cygwin. Yes, please! (I know, I know, SHTDI). http://cygwin.com/ml/cygwin/2009-10/msg00397.html Se

Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Oleksandr Gavenko
On 2012-02-13, Corinna Vinschen wrote: > On Feb 13 14:53, Corinna Vinschen wrote: >> On Feb 13 11:18, Oleksandr Gavenko wrote: >> > [...] >> > To resolve issue I comment this line in ~/.ssh/config: >> > >> > # ControlPath ~/.ssh/sock_%r@%h_%p >> > # ControlMaster auto >> >> Works for me with

Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Corinna Vinschen
On Feb 13 14:53, Corinna Vinschen wrote: > On Feb 13 11:18, Oleksandr Gavenko wrote: > > [...] > > To resolve issue I comment this line in ~/.ssh/config: > > > > # ControlPath ~/.ssh/sock_%r@%h_%p > > # ControlMaster auto > > Works for me with or without these lines. Btw., connection sharing

Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Corinna Vinschen
On Feb 13 11:18, Oleksandr Gavenko wrote: > > I can forward port from Cygwin to Debian: > > cygwin# nc -l -p 6000 > > debian1# ssh -L 7000:cygwin.host:6000 u...@cygwin.host > > debian2# telnet localhost 7000 > > But if do same in inverse direction I got: > > debian# nc -l -p 6000 > >