summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-02-28 13:32:24 +0100
committerDaniil Baturin <daniil@baturin.org>2018-02-28 13:32:24 +0100
commitd8dd509656e24d0050050ed067021e4b45e07d59 (patch)
tree66e2c1ce47507a81c608140c6b37c486f0926a8a
parent3f248ff90ecb28ae15dcf8e8191e79ca7889f69d (diff)
downloadvyatta-cfg-system-d8dd509656e24d0050050ed067021e4b45e07d59.tar.gz
vyatta-cfg-system-d8dd509656e24d0050050ed067021e4b45e07d59.zip
T507: add autocompletion or SSH key exchange algorithms
-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