summaryrefslogtreecommitdiff
path: root/templates/service/ssh/password-authentication/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/service/ssh/password-authentication/node.def')
-rw-r--r--templates/service/ssh/password-authentication/node.def14
1 files changed, 0 insertions, 14 deletions
diff --git a/templates/service/ssh/password-authentication/node.def b/templates/service/ssh/password-authentication/node.def
deleted file mode 100644
index c17dd47c..00000000
--- a/templates/service/ssh/password-authentication/node.def
+++ /dev/null
@@ -1,14 +0,0 @@
-type: bool
-default: true
-help: Allow user's to login with password
-update: if [ "$VAR(@)" == "true" ];
- then regex='/^PasswordAuthentication/s/no/yes/'
- else regex='/^PasswordAuthentication/s/yes/no/'
- fi
- sudo sed -i -e "$regex" /etc/ssh/sshd_config
-
-comp_help: possible completions:
- true Allow authentication with password
- false Disable authentication with password (secure)
-
-allowed: echo "true false"