March
13
How to Change SSH Port in Ubuntu 20.04
Change the default SSH port in Ubuntu, perform the following steps with root privileges:
- Open the /etc/ssh/sshd_config file and locate the line:
#Port 22 - Then,add
Port 2200 - Restart the SSH server:
sudo systemctl restart sshd