[Bug 1232] "LocalCommand" is executed before "Tunnel" is set up

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Sep 18 22:17:55 EST 2006


           Summary: "LocalCommand" is executed before "Tunnel" is set up
           Product: Portable OpenSSH
           Version: 4.3p2
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: h.goebel at goebel-consult.de

"LocalCommand" is documented as being executed _after_ the local
machine after successfully connecting to the server.

But as it's implemented now, this is done _before_ "Tunnel" is set up.
Thus the tunnel device is not present at the time when "LocalCommand"
is executed. Thus "LocalCommand" can not be used to configure the
tunnel device.

Here is some debugging output

debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
Device tap7 does not seem to be present, delaying initialization.
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Requesting tun.
debug1: sys_tun_open: tap7 mode 2 fd 7
debug1: channel 1: new [tun]

The "Device tap7 does not seem ..." message is from the LocalCommand.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the openssh-bugs mailing list