summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlain Lamar <alain_lamar@yahoo.de>2018-01-02 19:17:20 +0100
committerAlain Lamar <alain_lamar@yahoo.de>2018-01-02 19:17:20 +0100
commitc4b7a6a89d8309ffef66c7ddf9a74e03eef6c83f (patch)
tree73ba3f925472d44499695942a2b595c286e323c6 /templates
parent9b6efe5342a2d555dc4d5e5bb15671e72fe36f41 (diff)
downloadvyatta-cfg-system-c4b7a6a89d8309ffef66c7ddf9a74e03eef6c83f.tar.gz
vyatta-cfg-system-c4b7a6a89d8309ffef66c7ddf9a74e03eef6c83f.zip
T122: Undo the multiple-features-in-one-commit commit
Diffstat (limited to 'templates')
-rw-r--r--templates/service/ssh/allow-groups/node.def11
-rw-r--r--templates/service/ssh/allow-users/node.def11
-rw-r--r--templates/service/ssh/deny-groups/node.def11
-rw-r--r--templates/service/ssh/deny-users/node.def11
-rw-r--r--templates/service/ssh/sshd-option/node.def8
5 files changed, 0 insertions, 52 deletions
diff --git a/templates/service/ssh/allow-groups/node.def b/templates/service/ssh/allow-groups/node.def
deleted file mode 100644
index 2d6aa75b..00000000
--- a/templates/service/ssh/allow-groups/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-type: txt
-help: Configure sshd_config access control for allowed groups.
-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 groups can be specified as a comma-separated list.
-
-create: sudo sed -i -e '$ a \
-AllowGroups $VAR(@)' /etc/ssh/sshd_config
-
-delete: sudo sed -i -e '/^AllowGroups $VAR(@)$/d' /etc/ssh/sshd_config
-
-update: sudo sed -i -e '/^AllowGroups.*$/c \
-AllowGroups $VAR(@)' /etc/ssh/sshd_config
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
diff --git a/templates/service/ssh/deny-groups/node.def b/templates/service/ssh/deny-groups/node.def
deleted file mode 100644
index c2c8dcab..00000000
--- a/templates/service/ssh/deny-groups/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-type: txt
-help: Configure sshd_config access control for disallowed groups.
-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 groups can be specified as a comma-separated list.
-
-create: sudo sed -i -e '$ a \
-DenyGroups $VAR(@)' /etc/ssh/sshd_config
-
-delete: sudo sed -i -e '/^DenyGroups $VAR(@)$/d' /etc/ssh/sshd_config
-
-update: sudo sed -i -e '/^DenyGroups.*$/c \
-DenyGroups $VAR(@)' /etc/ssh/sshd_config
diff --git a/templates/service/ssh/deny-users/node.def b/templates/service/ssh/deny-users/node.def
deleted file mode 100644
index a6426f90..00000000
--- a/templates/service/ssh/deny-users/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-type: txt
-help: Configure sshd_config access control for disallowed 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 \
-DenyUsers $VAR(@)' /etc/ssh/sshd_config
-
-delete: sudo sed -i -e '/^DenyUsers $VAR(@)$/d' /etc/ssh/sshd_config
-
-update: sudo sed -i -e '/^DenyUsers.*$/c \
-DenyUsers $VAR(@)' /etc/ssh/sshd_config
diff --git a/templates/service/ssh/sshd-option/node.def b/templates/service/ssh/sshd-option/node.def
deleted file mode 100644
index 7f6ec7ec..00000000
--- a/templates/service/ssh/sshd-option/node.def
+++ /dev/null
@@ -1,8 +0,0 @@
-multi:
-type: txt
-help: Additional options for sshd_config
-
-create: sudo sed -i -e '$ a \
-$VAR(@)' /etc/ssh/sshd_config
-
-delete: sudo sed -i -e '/^$VAR(@)$/d' /etc/ssh/sshd_config