How to change SSH Port on your server ? Print

  • How to change SSH Port on your server ?
  • 0

How to change SSH port and Secure SSH

Try not to use port 22 for SSH login.

change it from  nano /etc/ssh/sshd_config file to another number for example : 2020 and save it on nano save command is (Ctrl + O)

Open the port number in your firewall rules like (ConfigServer Security & Firewall plugin )

 and run below command to take effects :

service sshd restart

Was this answer helpful?

« Back

Join us on Telegram channel

Telegram

Send Message