Change SSH Port
Last updated 1 year ago
sudo nano /etc/ssh/sshd_config
Change Port Number
For the configuration changes to take effect, restart the SSH service. Run the following command:
sudo service ssh restart