I have ssh'd into the ESXi host and opened the sshd_config file with vi added some info, then I go to save my changes and with :wq! but then I get 'sshd_config' operation is not permitted.
The default permissions on the file was 644, I even tried changing it to 600, but not change.
I have loaded the DoD STIG VIB, so not sure if that makes any difference or not.
I found a work around. I created a new file with all the settings, then deleted the sshd_config and then copied the new file to sshd_confg and now it's all good.
Hi,
it should be related with this fling you mentioned. I checked on my hosts and sshd_config file has 600 permissions.
I found a work around. I created a new file with all the settings, then deleted the sshd_config and then copied the new file to sshd_confg and now it's all good.