diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-07-02 16:13:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-02 16:13:53 +0200 |
commit | 0bd50e7ba9bee727346fd6c6c763f9a2b26ee5aa (patch) | |
tree | 80d8eaf38f7b34df24daa33f975fd6cc83e077c2 /data/templates | |
parent | b1d74fe8e21e2a9725eefb517e7da63f8cd952f9 (diff) | |
parent | 06e6e011cdf12e8d10cf1f6d4d848fd5db51720d (diff) | |
download | vyos-1x-0bd50e7ba9bee727346fd6c6c763f9a2b26ee5aa.tar.gz vyos-1x-0bd50e7ba9bee727346fd6c6c763f9a2b26ee5aa.zip |
Merge pull request #3721 from HollyGurza/T5878
ssh: T5878: Allow changing the PubkeyAcceptedAlgorithms option
Diffstat (limited to 'data/templates')
-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(',') }} |