summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-12-14 18:58:00 +0100
committerChristian Breunig <christian@breunig.cc>2025-12-14 18:58:00 +0100
commitef13a6319a21c8030301aeebbeabf5148adb994c (patch)
treec7e2fe4293ecfc55606d3020c7f697a178af1109 /data
parent812eea9a3a20afebc20b374a30ceac7f0d87c9b4 (diff)
downloadvyos-1x-ef13a6319a21c8030301aeebbeabf5148adb994c.tar.gz
vyos-1x-ef13a6319a21c8030301aeebbeabf5148adb994c.zip
ssh: T8098: rename "ciphers" CLI node to "cipher"
Follow VyOS CLI best practices for using singular whenever possible to build a CLI node. As we introduce a new migration 2 -> 3 for SSH we can correct this minor detail.
Diffstat (limited to 'data')
-rw-r--r--data/templates/ssh/sshd_config.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/ssh/sshd_config.j2 b/data/templates/ssh/sshd_config.j2
index 1315bf2cb..d5d155340 100644
--- a/data/templates/ssh/sshd_config.j2
+++ b/data/templates/ssh/sshd_config.j2
@@ -57,9 +57,9 @@ ListenAddress {{ address }}
{% endfor %}
{% endif %}
-{% if ciphers is vyos_defined %}
-# Specifies the ciphers allowed for protocol version 2
-Ciphers {{ ciphers | join(',') }}
+{% if cipher is vyos_defined %}
+# Specifies allowed ciphers for protocol version 2
+Ciphers {{ cipher | join(',') }}
{% endif %}
{% if hostkey_algorithm is vyos_defined %}