summaryrefslogtreecommitdiff
path: root/src/conf-mode/vyos-config-ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf-mode/vyos-config-ssh.py')
-rwxr-xr-xsrc/conf-mode/vyos-config-ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf-mode/vyos-config-ssh.py b/src/conf-mode/vyos-config-ssh.py
index 6a520fc2c..1605dcd74 100755
--- a/src/conf-mode/vyos-config-ssh.py
+++ b/src/conf-mode/vyos-config-ssh.py
@@ -179,7 +179,7 @@ def get_config():
ssh.setdefault('allow_groups', groups)
- if conf.exists('access-control deny-groups'):
+ if conf.exists('access-control deny-users'):
# Retrieve ',' separated list for denied users and convert it to a list.
# The current VyOS CLI implementation should be improved to rather use multi nodes
# instead of a ',' separated input.