diff options
Diffstat (limited to 'templates/service/ssh/allow-users/node.def')
-rw-r--r-- | templates/service/ssh/allow-users/node.def | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/templates/service/ssh/allow-users/node.def b/templates/service/ssh/allow-users/node.def deleted file mode 100644 index 2052bf69..00000000 --- a/templates/service/ssh/allow-users/node.def +++ /dev/null @@ -1,11 +0,0 @@ -type: txt -help: Configure sshd_config access control for allowed users. -comp_help: The SSH user and group access control directives (allow/deny) are processed in the following order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups. Multiple users can be specified as a comma-separated list. - -create: sudo sed -i -e '$ a \ -AllowUsers $VAR(@)' /etc/ssh/sshd_config - -delete: sudo sed -i -e '/^AllowUsers $VAR(@)$/d' /etc/ssh/sshd_config - -update: sudo sed -i -e '/^AllowUsers.*$/c \ -AllowUsers $VAR(@)' /etc/ssh/sshd_config |