Greetings again!
In discussions with one of our cPanel Partner NOCs, the idea of adding some very basic /etc/ssh/sshd_config options to the WHM interface arose. Basically, the idea was to add the option to change the SSH port as well as enable/disable remote root login.
I do this manually on any cPanel/WHM server I provision into production use and these two items in particular seem to have become recommended system administration practice.
However, there are many possibilities for how to implement this feature. Hence, I am starting a discussion thread to gain insight on how you, as an administrator of a cPanel/WHM server, feel this would best be implemented.
I know I would want a check to ensure there is a wheel user on the system before I disabled root access via SSH, so I don't inadvertently lock myself out of a server.
Also, there should be some big warning noting that firewalls can conflict with such a configuration and to update your firewall settings to permit connections over that port, before you change the SSH port to a port the firewall blocks.
Also, should this screen only be viewable to user root in WHM, or any user in WHM that has root-level access to WHM?
Obviously, we would want to be very careful with file I/O so we don't inadvertently lock someone out of a server due to an I/O snafu.
I am interested in any suggestions you have for this functionality and to see how many others would feel this functionality would be utilized if implemented.



LinkBack URL
About LinkBacks
Reply With Quote




