aboutsummaryrefslogtreecommitdiffstats
path: root/src/fripost-postinst-udeb/sshd_config
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-04-16 19:39:36 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 04:28:07 +0200
commit77ec2e80ad7085fb5f35a4624ac16bb65d580ca8 (patch)
tree8927703d2a499296feac693f1cc0ff40f578959f /src/fripost-postinst-udeb/sshd_config
parentfb7da2da82b4d90f23d6270d2e64823a8ce6d4b0 (diff)
Restrict SSH login to members of the 'ssh-login' group.
Don't use the group 'ssh', as it's automatically created by openssh-client's postinstall hook, and is used for ssh-agent's setgid.
Diffstat (limited to 'src/fripost-postinst-udeb/sshd_config')
-rw-r--r--src/fripost-postinst-udeb/sshd_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fripost-postinst-udeb/sshd_config b/src/fripost-postinst-udeb/sshd_config
index e81b272..4281ad1 100644
--- a/src/fripost-postinst-udeb/sshd_config
+++ b/src/fripost-postinst-udeb/sshd_config
@@ -16,7 +16,7 @@ LogLevel INFO
# Authentication:
LoginGraceTime 120
PermitRootLogin no
-AllowGroups ssh
+AllowGroups ssh-login
StrictModes yes
PubkeyAuthentication yes