User Tools

Site Tools


ubuntu:ssh:change_the_port

Ubuntu - SSH - Change the Port

sudo vi /etc/ssh/sshd_config

and change the Port:

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

Restart sshd

sudo /etc/init.d/ssh restart
ubuntu/ssh/change_the_port.txt · Last modified: 2023/06/09 17:05 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki