@i i'm on a very vanilla sshd config so i'm not sure, the connection closes when your ssh client closes