summaryrefslogtreecommitdiff
path: root/templates/service/ssh/key-exchange/node.def
blob: 00df581a5383ae7419d2c9d352b031209b5d1ad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
type: txt
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

delete: sudo sed -i -e '/^KexAlgorithms $VAR(@)$/d' /etc/ssh/sshd_config

update: sudo sed -i -e '/^KexAlgorithms.*$/c \
KexAlgorithms $VAR(@)' /etc/ssh/sshd_config