SSH (Secure Shell) is a secure communication protocol used to access a server remotely. However, brute force attacks—automatic password guessing attempts by malicious actors—pose a serious security threat to SSH servers. Changing the SSH port is an effective measure to prevent such attacks and keep your server secure. In this article, we will walk through the steps to change the SSH port via cPanel.

Step 1: Log in to cPanel
Open your web browser and log into your cPanel account.

Step 2: Go to the SSH/Shell Access Section
On the cPanel dashboard, find and click on the “SSH/Shell Access” tab or a similar option.

Step 3: Find the Option to Change SSH Port
Inside the SSH/Shell Access section, locate the “Change SSH Port” option or something similar and click it.

Step 4: Choose a New Port Number
Select a new SSH port number, typically between 1024 and 65535. For example, 2222 is a common choice.

Step 5: Save the Changes
After setting the new port number, click the “Save Changes” button at the bottom of the page.

Step 6: Update Firewall Settings
After changing the SSH port, update your server’s firewall rules to allow traffic through the new port.

Step 7: Connect Using the New SSH Port
Use your SSH client to connect to your server with the new port number. For example:
ssh user@server_ip -p new_port

This article covered how to change your SSH port via cPanel step-by-step to protect your server from automated brute force attacks. Changing the SSH port helps secure your server against unauthorized access attempts. However, always be cautious when making such changes and ensure all necessary security measures are in place.

#SSH #PortChange #cPanel #Security #BruteForce #AttackPrevention #ServerProtection #SSHPort #Update #Connection #CyberSecurity #NetworkSecurity #InfoSec #Tech #HackerPrevention

Did you find it useful?
(34 times viewed / 0 people found it helpful)