How can I get list of open SSH tunnels?
I'm using Mac OS X client connected to FreeBSD server. I'm trying to query open tunnels on the client.
|
How can I get list of open SSH tunnels? I'm using Mac OS X client connected to FreeBSD server. I'm trying to query open tunnels on the client.
| |||||||
feedback
|
|
In Ubuntu, with iptables and iptstate installed and standard ssh port:
each line will represent open tunnel. | |||
|
feedback
|
|
If you're trying to find out what's using the tunnel(s) in a single | |||
|
feedback
|
|
You can use lsof:
The last line represent a tunnel (look at the state LISTEN). | |||
|
feedback
|