summaryrefslogtreecommitdiff
path: root/templates/service/ssh/macs/node.def
blob: f9bf417677270f54f18bb20433ce41ceaf4eb617 (plain)
1
2
3
4
5
6
7
8
9
10
11
type: txt
help: Allowed message authentication algorithms
comp_help: Specifies the available MAC (message authentication code) algorithms. The MAC algorithm is used in protocol version 2 for data integrity protection. Multiple algorithms must be comma-separated. See 'ssh -Q mac' for supported MACs.

create: sudo sed -i -e '$ a \
MACs $VAR(@)' /etc/ssh/sshd_config

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

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