For the complete documentation index, see llms.txt. This page is also available as Markdown.

Change SSH Port

Change SSH Port

sudo nano /etc/ssh/sshd_config
  • Change Port Number

Restart SSH

For the configuration changes to take effect, restart the SSH service. Run the following command:

sudo service ssh restart

Reference

Last updated