How to kill inactive ssh sessions l-lin included in post 2015-07-21 28 words One minute Execute the following command that displays the list of processes: 1 pstree -p Look for the sshd: 1 2 ├─sshd(3102)─┬─sshd(3649)───bash(3656) │ └─sshd(16680)───bash(16687)───pstree(17073) Kill the session: 1 kill 3649 Please enable JavaScript to view the comments powered by Utterances.