Open ulrich1919 opened 9 months ago
Apologies for the delay, I tried to reproduce this today, but GSSAPIKexAlgorithms
isn't a valid option in the schema, are you using a local fork?
I can however replicate the same behaviour with:
"/software/components/ssh/daemon/comment_options/Protocol" = "";
It appears to happen when an option is present in both options
and comment_options
and the comment version has no associated value.
Yes, we added GSSAPIKexAlgorithms to our schema. Forgot to raise a PR here. Will do now.
I think GSSAPIKexalgorithms was only present in comment_options
with an empty value. It was not added to options
.
Can you reproduce the behaviour If an option is only present in comment_options
(and not present in options
)?
I think the underlying issue is still present, but the schema changes make it harder to trigger.
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