How to change SSH port of a server with Webmin control panel
Hey! It’s really cool to change the SSH port of the server which has Webmin as web-hosting control panel. Every web-server owner may not have enough knowledge to manage those things via Linux shell command. In those cases, a control panel is helpful to edit such configuration files of the server from frond-end. By using the control panel Webmin, every one can simply change their server’s SSH port from its default.
Changing the SSH port value from its default will protect the server from unwanted login attack. Here I’m explaining the steps to change SSH port number of server via Webmin.
Steps to chaange the default port – Using Webmin
Login to Webmin panel:
http://yourIPaddress:10000 User : root Password : Your.root.password
This image will help you:
Expand servers and select SSH server from the left most side from the webmin control panel and click to the edit config files option
Un comment the port option from the configuration file and set a new port number value here and click the save option.
Then click the apply changes button to apply the current configuration by sending a SIGHUP signal to the running SSHd process.
Thats it… You can access your server via SSH by using the new port number (ssh -p 2229 [email protected]). 🙂