diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-12-15 19:33:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-15 19:33:18 +0000 |
| commit | 31ce591f9bd34edc8a5a5ee91a4367c741b93b7c (patch) | |
| tree | 89f6f2fce2d02242a38329d80382980abde10f32 /data | |
| parent | 6c6fa367118c6196a1fb01df8646269e91ac2a4f (diff) | |
| parent | ef13a6319a21c8030301aeebbeabf5148adb994c (diff) | |
| download | vyos-1x-31ce591f9bd34edc8a5a5ee91a4367c741b93b7c.tar.gz vyos-1x-31ce591f9bd34edc8a5a5ee91a4367c741b93b7c.zip | |
Merge pull request #4896 from c-po/ssh-config-test
ssh: T8090: T8098: add support for config test mode (sshd -t)
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 %} |
