summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-03 19:24:30 +0200
committerGitHub <noreply@github.com>2024-07-03 19:24:30 +0200
commitc85e7223dbcc7973eb71c15a26a5518b883c21a9 (patch)
treeecd3548e89eb7d249c4e2e2fa47790e434749717 /data
parent87df09d2415ffcc77556544b31dbd33dd5b07c6d (diff)
parent503fb7fb33b8c3758a50bd5dcfbcd907d4a8719b (diff)
downloadvyos-1x-c85e7223dbcc7973eb71c15a26a5518b883c21a9.tar.gz
vyos-1x-c85e7223dbcc7973eb71c15a26a5518b883c21a9.zip
Merge pull request #3758 from vyos/mergify/bp/circinus/pr-3721
ssh: T5878: Allow changing the PubkeyAcceptedAlgorithms option (backport #3721)
Diffstat (limited to 'data')
-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(',') }}