feature request

Markus Friedl mfriedl at gmail.com
Wed Feb 9 04:01:26 EST 2011


does this help for you?

     -W host:port
             Requests that standard input and output on the client be
             forwarded to host on port over the secure channel.  Implies -N,
             -T, ExitOnForwardFailure and ClearAllForwardings and works with
             Protocol version 2 only.



On Mon, Feb 7, 2011 at 10:56 PM, Cyrille Lefevre
<cyrille.lefevre-lists at laposte.net> wrote:
>
> Hi,
>
> how about to provide a simple way to forward raw file descriptors through
> ssh tunnels.
>
> something which may provide a way to write something like :
>
> (echo 3; read > out3) |&
> exec 3<&p 4>&p
> echo 5 >| out5
> exec 5<> out5
> echo 1 |
> ssh -d 3:rd -d 4:wr -d 5:rw '
>        read <&3; echo $REPLY >&4
>        read; echo $REPLY
>        read <&5; echo $REPLY >&5
> ' > out1
>
> the expected result is 1 in out1, 3 in out3 and 5\n5 in out5.
>
> PS : hope the sample is right :-)
>
> Regards,
>
> Cyrille Lefevre
> --
> mailto:Cyrille.Lefevre-lists at laposte.net
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>


More information about the openssh-unix-dev mailing list