You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the server_option for Ciphers/MACs/KexAlgorithms are defined as array or as yaml list, the generated sshd_config config has
multiple entries for them, this does not work, because sshd picks only the first match.
From the man page of sshd_config(5)
"Multiple ciphers must be comma-separated." The same for MACs and KexAlgorithms.
As the man page of sshd_config(5) describes:
"Multiple ciphers/macs/kexalgorithms must be comma-separated."
Using an array or YAML list for ciphers/mac/kex results in multiple
entries in sshd_config. If multiple entries are set in sshd_config, sshd takes only the first
one.
Fixessaz#361
ReneTrippen
changed the title
Multiple entries of ciphers/macs/kexalgorithms when server_option is an array or yaml list
[BUG] Multiple entries of ciphers/macs/kexalgorithms when server_option is an array or yaml list
Sep 21, 2023
When the server_option for Ciphers/MACs/KexAlgorithms are defined as array or as yaml list, the generated sshd_config config has
multiple entries for them, this does not work, because sshd picks only the first match.
From the man page of sshd_config(5)
"Multiple ciphers must be comma-separated." The same for MACs and KexAlgorithms.
Example:
As Array
As Yaml list in hiera
generated sshd_config
sshd -T
As String
generated sshd_config
sshd -T
The text was updated successfully, but these errors were encountered: