diff options
author | khramshinr <khramshinr@gmail.com> | 2024-06-25 16:37:16 +0600 |
---|---|---|
committer | khramshinr <khramshinr@gmail.com> | 2024-06-28 13:42:54 +0600 |
commit | 06e6e011cdf12e8d10cf1f6d4d848fd5db51720d (patch) | |
tree | 4ea28f5a96072389f7d099ab22efc973235950e6 /data | |
parent | 804efa2ef6bfee84d13f633d863f6f22f9eec273 (diff) | |
download | vyos-1x-06e6e011cdf12e8d10cf1f6d4d848fd5db51720d.tar.gz vyos-1x-06e6e011cdf12e8d10cf1f6d4d848fd5db51720d.zip |
ssh: T5878: Allow changing the PubkeyAcceptedAlgorithms option
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/ssh/sshd_config.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/ssh/sshd_config.j2 b/data/templates/ssh/sshd_config.j2 index 650fd25e6..2cf0494c4 100644 --- a/data/templates/ssh/sshd_config.j2 +++ b/data/templates/ssh/sshd_config.j2 @@ -67,6 +67,11 @@ Ciphers {{ ciphers | join(',') }} HostKeyAlgorithms {{ hostkey_algorithm | join(',') }} {% endif %} +{% if pubkey_accepted_algorithm is vyos_defined %} +# Specifies the available PubKey signature algorithms +PubkeyAcceptedAlgorithms {{ pubkey_accepted_algorithm | join(',') }} +{% endif %} + {% if mac is vyos_defined %} # Specifies the available MAC (message authentication code) algorithms MACs {{ mac | join(',') }} |