User Tools

Site Tools


ubuntu:ssh:change_the_port

This is an old revision of the document!


Ubuntu - SSH - Change the Port

Edit the /etc/ssh/sshd_config file, and change the Port:

/etc/ssh/sshd_config
Port <change to another port other than 22>

Restart sshd

sudo systemctl restart ssh
 
or
 
sudo /etc/init.d/ssh restart
ubuntu/ssh/change_the_port.1747820375.txt.gz · Last modified: 2025/05/21 09:39 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki