LocalCommand problem for tunneling on Linux

Yusuke Shinyama yusuke at cs.nyu.edu
Tue Jan 17 05:03:39 EST 2006


I've been testing tunneling on Linux with openssh-SNAP-20060116.tar.gz
and found a problem.

When I use LocalCommand for doing ifconfig stuff, the command line
was executed before a tunneling interface is opened.  This causes
errors on Linux and the interface is not automatically set up.

This is not a problem on *BSD because you can do ifconfig for
unopened tun/tap interfaces. But in Linux, you need to open it first.

A possible solution seems to have ssh_local_cmd() executed
in ssh_session2_setup().

Thank you,
Yusuke




More information about the openssh-unix-dev mailing list