From d8dd509656e24d0050050ed067021e4b45e07d59 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 28 Feb 2018 13:32:24 +0100 Subject: T507: add autocompletion or SSH key exchange algorithms --- templates/service/ssh/key-exchange/node.def | 5 +++-- 1 file 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 -- cgit v1.2.3