Watching our SSH session

If you want to see when your SSH tunnel has closed, run the following:

[vagrant@centos1 ~]$ ps aux | grep "ssh -f" | grep -v grep
vagrant 3525 0.0 0.2 82796 1196 ? Ss 11:03 0:00 ssh -f -L 9999:127.0.0.1:8888 192.168.33.11 sleep 120

Upon disconnection, this process will end:

[vagrant@centos1 ~]$ ps aux | grep "ssh -f" | grep -v grep
[vagrant@centos1 ~]$