summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-04 14:00:07 +0200
committerGitHub <noreply@github.com>2024-07-04 14:00:07 +0200
commitea4fb0c816cdaa2087e5c497293863dcbec6d5ec (patch)
tree8bbc0dfeeabeed7e8d745accc9b3473c10ef00bd /data
parente76b2ae30d08c91bdd595798fb037ce692781ca7 (diff)
parent6f67cf62d20ced7c72ca6a856ce66d1e3396e79e (diff)
downloadvyos-1x-ea4fb0c816cdaa2087e5c497293863dcbec6d5ec.tar.gz
vyos-1x-ea4fb0c816cdaa2087e5c497293863dcbec6d5ec.zip
Merge pull request #3759 from vyos/mergify/bp/sagitta/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(',') }}