How to cleanup SSH reverse tunnel socket after connection closed? August 7, 2022 by Magenaut If I run something like this: