Skip to content

ncm-ssh: /software/components/ssh/daemon/comment_options/GSSAPIKexAlgorithms = "" ends up adding a new line on each ncm-ssh run #1666

@ulrich1919

Description

@ulrich1919

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions