ssh – list all tunnel

sudo lsof -i -n | egrep '\<ssh\>'
sudo lsof -i -n | egrep '\<sshd\>'
netstat -tpln | grep ssh
Advertisements