Displaying 1 result from an estimated 1 matches for "gtfnl".
2013 Dec 11
2
[Bug 2183] New: ssh -g has no effect if master socket already open
...From the man page:
?-g Allows remote hosts to connect to local forwarded ports.
When working with a control socket, this works fine if -g is included
with the initial connect attempt, for example:
$ cat ~/.ssh/config
Host *
ControlMaster auto
ControlPath ~/.ssh/%r@%h:%p
$ ssh -gTfNL 12345:localhost:12345 host
$ netstat -tln
tcp 0 0 0.0.0.0:12345 0.0.0.0:*
LISTEN -
$ lsof -n
ssh 182446 user 3u IPv4 76397177
0t0 TCP 192.168.0.9:51181->192.168.0.15:ssh (ESTABLISHED)
ssh 182446 u...