- - Hardware and OS Related Technologies
- -- Linux, Unix, and *nix like Operating Systems
- ---- Monitoring a SSH tunnel
lammert - 12:08 am on Jan 16, 2008 (gmt 0)
On linux, the command netstat -nt ¦ grep yourip:22 should give you a list of currently active ssh connections. That list can be further processed in a script.
Thread source: http://www.webmasterworld.com/linux/3531550.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com