X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=sshd_config;h=4f18dc0e0463b868913ae4bc6189492527030293;hb=da5c4d23313e75ade3d971dab90e9d3f0a94dd1d;hp=8f21c33a43a5e7b376ae8dc58bc75152a8e1ab4e;hpb=1fb61af84ab18d053a2fcb5f0cbb35e0a9c5965a;p=config%2Fdotfiles.git diff --git a/sshd_config b/sshd_config index 8f21c33..4f18dc0 100644 --- a/sshd_config +++ b/sshd_config @@ -55,6 +55,18 @@ 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 + # Only allow logins for certain users. AllowUsers root