Changing your server's SSH port will greatly increase server security. You can follow the steps below.
After logging in via SSH,
nano /etc/ssh/sshd_config
We use the command and open the SSH configuration file.
#Port 22
We find the line that says, delete the # character at the beginning and write the port you want instead of 22. Make sure that the SSH port you will use is not used by any other service and is not closed by the firewall on your server. After making the change and saving the file,
service sshd restart
You can activate the port using the command.
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket