X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fssh%2Fsshd_config.m4;h=572c6ad487ece1a0752329aa140edfa65a3de710;hb=a1e18e85535f79e6d42e7340c2593f376952d60d;hp=219b33554d25ee6645ac1ae64b5d4e3dc94f47a7;hpb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583;p=lhc%2Fateliers.git diff --git a/etc/ssh/sshd_config.m4 b/etc/ssh/sshd_config.m4 index 219b335..572c6ad 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 LOCAL_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 3 +MaxAuthTries 5 PasswordAuthentication no PermitEmptyPasswords no PermitRootLogin yes