summaryrefslogtreecommitdiff
path: root/templates/service/ssh/allow-root/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/service/ssh/allow-root/node.def')
-rw-r--r--templates/service/ssh/allow-root/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/service/ssh/allow-root/node.def b/templates/service/ssh/allow-root/node.def
index 87ff1ded..25a5a97a 100644
--- a/templates/service/ssh/allow-root/node.def
+++ b/templates/service/ssh/allow-root/node.def
@@ -6,3 +6,9 @@ update: if [ "$VAR(@)" == "true" ];
else regex='/^PermitRootLogin/s/yes/no/'
fi
sudo sed -i -e "$regex" /etc/ssh/sshd_config
+
+comp_help: possible completions:
+ true Enable root login over ssh
+ false Disable root login over ssh
+
+allowed: echo "true false"