X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=shell%2Fsshd_config;h=d845bc7059a7789a52ae4f1cd5324c1252f66f11;hp=acd771665b0ba8392025c76e9b44629a7b2a7e00;hb=HEAD;hpb=acbc561fcc66fcfc1a013cab4033fa272f7c5643 diff --git a/shell/sshd_config b/shell/sshd_config index acd7716..d845bc7 100644 --- a/shell/sshd_config +++ b/shell/sshd_config @@ -47,8 +47,8 @@ PubkeyAuthentication yes # Don't allow empty passwords (default). PermitEmptyPasswords no -# Allow root-login only with public keys. -PermitRootLogin without-password +# Allow root-login only with public keys (default). +PermitRootLogin prohibit-password # Be strict when checking user file permissions (default). StrictModes yes @@ -59,8 +59,6 @@ StrictModes yes # peer". MaxSessions 30 -# Don't accept any environment variables from the client (default). -AcceptEnv # Don't use ~/.ssh/environment and environment= options in # ~/.ssh/authorized_keys because LD_PRELOAD could be used to circumvent # authentications (default).