feature request

Cyrille Lefevre cyrille.lefevre-lists at laposte.net
Tue Feb 8 08:56:29 EST 2011


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



More information about the openssh-unix-dev mailing list