I am facing an issue whereby the ssh session is not terminated upon exit. Which will result in hitting the MaxSession defined in the sshd_config file. ps auxwww | grep sshd:root      7877  0.0  0.0  86884  3488 ?        Ss   10:42   0:00 sshd: root@pts/0root      7989  0.0  0.0  86860  3832 ?        Ss   10:43   0:00 sshd: root@pts/1root      8080  0.0  0.0  86860  3828 ?        Ss   10:43   0:00 sshd: root@pts/2root     12364  0.0  0.0 109148   804 pts/2    S+   11:06   0:00 grep sshd:The current configured ClientAliveInterval is as 0, meaning to say the server will not check with the client on the keep-alive status. Is there a way or reason as to why my ssh session is not terminated clean ?
ssh session not terminated upon exit
linux;ssh;sshd;openssh