summaryrefslogtreecommitdiff
path: root/templates/service/ssh/key-exchange/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/service/ssh/key-exchange/node.def')
-rw-r--r--templates/service/ssh/key-exchange/node.def5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/service/ssh/key-exchange/node.def b/templates/service/ssh/key-exchange/node.def
index a3c91b0b..00df581a 100644
--- a/templates/service/ssh/key-exchange/node.def
+++ b/templates/service/ssh/key-exchange/node.def
@@ -1,6 +1,7 @@
type: txt
-help: Allowed key exchange algorithms
-comp_help: Specifies the available KEX (key exchange) algorithms. The KEX algorithm is used in protocol version 2 for key negotiation upon session creation. Multiple algorithms must be comma-separated. See 'ssh -Q kex' for supported KEX algorithms.
+help: Key exchange algorithms
+
+allowed: ssh -Q kex | perl -ne '$_=~s/\n/ /;print'
create: sudo sed -i -e '$ a \
KexAlgorithms $VAR(@)' /etc/ssh/sshd_config