Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the copy-the-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
👨‍💻 Change the default SSH port in 🐧 Linux Server - PC✗3
👨‍💻 Change the default SSH port in 🐧 Linux Server

👨‍💻 Change the default SSH port in 🐧 Linux Server

By default on Linux servers SSH runs on 22 port. We can change the default SSH port for Linux server as an added security measure.

NOTE: Before changing the SSH port makes sure the new SSH port does not conflict with any known, used or blocked ports.


To change the SSH port on your Linux server follow the below steps:

1. Connect to server as the root user or switch the user root using the following command:

sudo su

3. Open the sshd_config file in your favorite text editor:

nano /etc/ssh/sshd_config

4. Find the following line

port 22

5. Change 22 to your desired port number. For example:

port 2802

6. Save the changes andrestart ssh services

service sshd restart
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.