Sunday, August 14, 2011

change ssh port via WHM

Log in to WHM as root user and browse following URL.

http://192.168.0.2:2086/scripts2/autofixer

Use your server ip instead of 192.168.0.2 in above URL. To reset the sshd_config file insert "safesshrestart" in following autofixer window.



The safesshrestart autofixer will show you following execution.



If you are using another port before resetting default sshd_config file by using autofixer then first SSH to server by using default SSH port 22 and restart the SSHD service, it will reset your existing SSHD port.

You can find more information regarding autofixer feature at following URL

Index of /autofixer/

http://httpupdate.cpanel.net/autofixer/

No comments:

Post a Comment