How do I prevent orphaned `sshd` processes on the server end?

Solution 1:

The man page for sshd_config will tell you that setting ClientAliveCountMax & ClientAliveInterval should do as you wish.

ClientAliveCountMax is defaulted to 3, meaning you just need to set ClientAliveInterval to a suitable size.