summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-07-02 16:13:53 +0200
committerGitHub <noreply@github.com>2024-07-02 16:13:53 +0200
commit0bd50e7ba9bee727346fd6c6c763f9a2b26ee5aa (patch)
tree80d8eaf38f7b34df24daa33f975fd6cc83e077c2 /data/templates
parentb1d74fe8e21e2a9725eefb517e7da63f8cd952f9 (diff)
parent06e6e011cdf12e8d10cf1f6d4d848fd5db51720d (diff)
downloadvyos-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.j25
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(',') }}