summaryrefslogtreecommitdiff
path: root/data/templates/ssh/sshd_config.j2
diff options
context:
space:
mode:
authorkhramshinr <khramshinr@gmail.com>2024-06-25 16:37:16 +0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-07-03 13:32:51 +0000
commit503fb7fb33b8c3758a50bd5dcfbcd907d4a8719b (patch)
tree2b763ca8c50b7f9e0e19c839a105f7b0dcc1d8fb /data/templates/ssh/sshd_config.j2
parent3817a83f0af6f7a97e1fb822d0e5da844068100f (diff)
downloadvyos-1x-503fb7fb33b8c3758a50bd5dcfbcd907d4a8719b.tar.gz
vyos-1x-503fb7fb33b8c3758a50bd5dcfbcd907d4a8719b.zip
ssh: T5878: Allow changing the PubkeyAcceptedAlgorithms option
(cherry picked from commit 06e6e011cdf12e8d10cf1f6d4d848fd5db51720d)
Diffstat (limited to 'data/templates/ssh/sshd_config.j2')
-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(',') }}