Reset SSH port using WHM

We might face an issue sometimes where we are able to access WHM panel using the root logins, but can't access the server via SSH since the SSH port is different. Here we can reset the SSH port to the default one using some simple steps:

1.  Login to WHM using the root login credentials.

2. Replace the browser URL like the following:

https://serverip:2087/scripts2/doautofixer?autofix=safesshrestart

Replace “serverip” with your server’s IP address.

It may ask for root password again, if so, please provide it and wait for a few seconds and you are done.

Once it is successfully completed, please try accessing the server using SSH with the default port 22.

  • reset ssh port whm
  • 0 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

How To Install and Use Docker on Ubuntu 16.04

Introduction Docker is an application that makes it simple and easy to run application processes...

Change Main IP of the server :: Vesta Panel

If we are changing the main IP of a server installed with Vesta panel, we can use the following...

cPanel: Apache-FastCGI Data Timeout Error

If you are using a cPanel server and have FastCGI enabled in Apache, you might be facing the...

Domainkey installer in cPanel

You can use the following cPanel script to install domainkey for an account...

Email issues :: Common Troubleshooting Steps

Here I will discuss some common errors and their solution: We are using a mail relay setup for...