X
X

Select Your Currency

Türk Lirası $ US Dollar
X
X

Select Your Currency

Türk Lirası $ US Dollar
Yıllık Satın Alımlarda %15 İndirim: Şimdi Tasarruf Edin! Detaylı Bilgi İçin Tıklayın!

Knowledge Base

HomepageKnowledge BaseGeneralHow to Change SSH Port

How to Change SSH Port

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.

Can't find the information you're looking for?

You have examined the knowledge base in detail, but if you cannot find the information you need,

Create a Support Ticket
Did you find it useful?
(106 times viewed. / 1 people found helpful.)