RESET SSH PORT TO DEFAULT PORT THROUGH WHM

Introduction

In some cases, the SSH port on a server may be changed from the default (22) for security reasons. If the custom SSH port is forgotten or inaccessible, Web Host Manager provides a way to restore SSH access to the default configuration.

Prerequisites

Before proceeding, ensure:

  • WHM access via root account
  • Server IP address is reachable
  • Basic understanding of SSH access

Implementation

Step 1: Open Browser

Open any web browser.

Step 2: Access WHM Autofixer URL

Enter the following URL:

http://serverip:2086/scripts2/doautofixer?autofix=safesshrestart

Replace serverip with your actual server IP address.


Step 3: Execute the Fix

  • The script will automatically reset SSH configuration
  • SSH service will restart using default settings

Result

After successful execution:

  • SSH port is reset to default 22
  • You can connect using:
ssh root@serverip

Conclusion

Using the autofixer tool in Web Host Manager, administrators can quickly restore SSH access to the default port when custom configurations cause access issues.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top