ARYAN ICT Solutions, LLC.
  • 0 Shopping Cart
  • myHUB - DASHBOARD
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • More
  • Account
    • Login
    • Forgot Password?
  1. AryanIct.com
  2. Knowledgebase
  3. Specialized Help
  4. Technical
  5. How to change SSH port

  Categories

API
7
Client Portal
4
cPanel & WHM
129
Hosting Support
13
Miscellaneous
6
Pre-Sale Questions
23
Security & Abuse
6
Specialized Help
253
Video Tutorials
4

  Categories

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

How to change SSH port Print

  • 2

You can change the ssh port by following commend

nano /etc/ssh/sshd_config

Change
#Port 22

to

Port * (any port)

Also make sure to open your firewall.

then restart sshd by following commend

service sshd restart

Was this answer helpful?

Related Articles

Run OPTIMIZE TABLE to defragment tables for better performance For this suggestion:Run OPTIMIZE TABLE to defragment tables for better performanceRun this... How to clear Error Log of a cPanel Account. User the below code to clear Error Log:Replace User with Username:Code:for i in `find... What is php.ini ? The php.ini file and changing PHP Settings The php.ini file is a special file for PHP and... How to fix ini_set() has been disabled for security reasons 1. Create php.ini file inside your public_html folder, OR the folder in which you have... How to fix Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone: 1: Create .htaccess file inside your public_html folder, OR the folder in which you have...
« Back

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket
  • Contact Us
  • Terms of Service

Copyright © 2025 ARYAN ICT Solutions, LLC.. All Rights Reserved.


Loading...
Loading...

Choose Currency

$ USD
AFN

Generate Password

Please enter a number between 8 and 64 for the password length