diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-12-14 18:58:00 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-12-14 18:58:00 +0100 |
| commit | ef13a6319a21c8030301aeebbeabf5148adb994c (patch) | |
| tree | c7e2fe4293ecfc55606d3020c7f697a178af1109 /data | |
| parent | 812eea9a3a20afebc20b374a30ceac7f0d87c9b4 (diff) | |
| download | vyos-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.j2 | 6 |
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 %} |
