Changing The SSH Port Number

To change the SSH port number login as root, and edit /etc/ssh/sshd_config

Find the line that says Port 22 and change 22 to any number between 1024->65535 (above 30000 is best) and save the file.

Once done, run:

/etc/init.d/sshd restart

Now start a new SSH session (don’t close your existing one), to make sure that you can get in.

About Josh Hold

Josh works alongside with our marketing department in the production of editorial content for our company blog and knowledgebase.
This entry was posted in cPanel - WHM Resellers in UK, Exchange and Zimbra Email Hosting, Industry Knowledge Hub, Latest Techs and Updates, Web Hosting Articles, Web Hosting HOWTOs. Bookmark the permalink.

Leave a Reply