How to setup manifest to manage SSH Server Config File Only if the server is Redhat or Ubuntu
I have two things I want to accomplish. I want to setup a manifest to manage the ssh server configuration file, only if the server is Redhat, and ensure that password based login is not possible, and only key based authentication is possible. This manifest/config should also disable root based ssh login.
I also want to be able to Restarts the ssh server every time the ssh server configuration file has changed.