X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fssh%2Fsshd_config.m4;h=6c7298e153544afd7d50f21dea84b976d5286403;hb=6647e7fb851e2dbe5a5c7ec60358f7371bf17183;hp=e60e1b882fa43e04c98290f9be461da548032fab;hpb=8eb1ec9c265b8994222499cfcc0ca376d4efbdb3;p=lhc%2Fateliers.git diff --git a/etc/ssh/sshd_config.m4 b/etc/ssh/sshd_config.m4 index e60e1b8..6c7298e 100644 --- a/etc/ssh/sshd_config.m4 +++ b/etc/ssh/sshd_config.m4 @@ -11,12 +11,13 @@ IgnoreRhosts yes IgnoreUserKnownHosts no KerberosAuthentication no KeyRegenerationInterval 3600 -Port 22 -ListenAddress 127.0.0.1 -ListenAddress VM_IPV4 +#ListenAddress 127.0.0.1:22 +#ListenAddress 10.0.42.1:22 +#ListenAddress LOCAL_IPV4:22 +ListenAddress 0.0.0.0:22 LogLevel INFO LoginGraceTime 120 -MaxAuthTries 1 +MaxAuthTries 3 PasswordAuthentication no PermitEmptyPasswords no PermitRootLogin yes