summaryrefslogtreecommitdiff
path: root/templates/service
diff options
context:
space:
mode:
Diffstat (limited to 'templates/service')
-rw-r--r--templates/service/ssh/disable-host-validation/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/service/ssh/disable-host-validation/node.def b/templates/service/ssh/disable-host-validation/node.def
new file mode 100644
index 00000000..fff28dbd
--- /dev/null
+++ b/templates/service/ssh/disable-host-validation/node.def
@@ -0,0 +1,6 @@
+help: Don't validate the remote host name with DNS
+
+update: sudo sed -i -e '/^UseDNS/s/yes/no/' /etc/ssh/sshd_config
+
+delete: sudo sed -i -e '/^UseDNS/s/no/yes/' /etc/ssh/sshd_config
+