if I specify:
/software/components/ssh/daemon/comment_options/GSSAPIKexAlgorithms = "" (empty value)
then ncm-ssh adds
"#GSSAPIKexAlgorithms" line to sshd_config on each run, and restarts sshd. I believe this behaviour is not normal. Please check and fix. Thanks
- The version of the component you are using (rpm -q $component) ncm-ssh-23.6.0-1.noarch
- What OS version you are using (/etc/redhat-release or similar) Red Hat Enterprise Linux Server release 7.9 (Maipo)
- Steps required to reproduce the problem: see above
- Actual result versus expected result.
Expected result:
It should comment out any GSSAPIKexAlgorithms options with any values from sshd_config and restart sshd.
It should not add #GSSAPIKexAlgorithms lines on each run.
Of course this affects any sshd option, not particularly just GSSAPIKexAlgorithms. It probably affects other ncm components as well(CAF::FileEditor::add_or_replace_lines)