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 16:05 by peter