X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=sshd_config;h=4f18dc0e0463b868913ae4bc6189492527030293;hb=c1a3d00240d108fdaf6867cc3a257a4ff6a48834;hp=c9ee8fc6d11355c9f377734e165ef621de76c375;hpb=cd3e1e08bc5acbe3418af0f202ebb73614da3b9b;p=config%2Fdotfiles.git diff --git a/sshd_config b/sshd_config index c9ee8fc..4f18dc0 100644 --- a/sshd_config +++ b/sshd_config @@ -55,6 +55,15 @@ AcceptEnv # authentications (default). PermitUserEnvironment no +# Send a message after the given seconds of inactivity through the encrypted +# channel. Used to detect stale connections more quickly. Not necessary on all +# servers, therefore deactivated here. +#ClientAliveInterval 60 +# Disconnect the client if more than max count alive messages were lost +# (default). With the setting above this detects a broken connection after 3 +# minutes. +ClientAliveCountMax 3 + # Enable sftp (and sshfs) usage. Subsystem sftp internal-sftp