How to find out the current port being used by SSH on a WHM based server
https://www.zyxware.com/sites/default/files/styles/user_image/public/default_images/index.png?itok=2YmREnrP
BY sandeep.sasikumar
7 years ago
Networking
1 comments comment

Most web developers & system administrators have to do SSH logins to WHM based servers to make the necessary changes there. The default port used for ssh logins is port 22. However there might be unusual circumstances where port 22 is not the default port. In such a scenario we need to identify the default ssh-port used by the server. If you are facing a similar situation then read on to know how to find out the current port being used by SSH on a WHM based server.

Here are the steps to identify the default ssh-port from WHM:

  1. First Login to the WHM with your username and password.
  2. In the 'Plugins' option click on the 'ConfigServer Explorer' option.
  3. From the list of folders select the 'etc' folder.
  4. In the next list of folders select the 'ssh' folder.
  5. Within this list click on the 'ssh config' file.
  6. The ssh config file consists of the details of the ssh-port which is selected as the default.

In most cases the port will be 22. However if you are having any problem with your ssh connection, follow the steps mentioned above and find out which is the default ssh-port used and then try to ssh using that port.


RELATED ARTICLE

/themes/custom/zyxpro_light/images/placeholder.png
more_horiz
close

on 05th May 2007 / by webmaster
BSNL is one of the leading broadband providers in India. Hardware Linux Networking Ubuntu Leave a reply Your email address will not be published. Required fields are marked * Abhi (not verified) access_time 18 Sep 2020 - 03:48 Hello, I am trying to connect to my D-link DI-614 wireless router to the my BSNL ADSL broadband modem DB108. My PC is currently connected to the modem via an ethernet link. Instead, I established a two-way connection in the following way: 1) Router - modem via ethernet cable. 2) PC - Router via an ethernet cable. However when I do this, my PC is not able to connect to the internet. I am wondering if anyone can help me out with this. Subhadeep (not verified) access_time 18 Sep 2020 - 03:48 Thankx for this i was in a real problem connecting to the net via broadband on BSNL. Thankx again man u r life saver... Add new comment
Leave a reply
Your email address will not be published. Required fields are marked *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

author-image
Talu (not verified)
access_time 18 Sep 2020 - 04:55

Hi:

Thanks for this article, I was forgoten the port of my ssh but in the last version of WHM (11.38.2 build 7) or on my server, the 'ConfigServer Explorer' option is not available so I find the port on the firewall settings 'ConfigServer Security & Firewall' under 'Allow incoming TCP ports' and descarting the default know ports such as ftp, web, etc.

http://www.talu.me/