====== Ubuntu - SSH - Change the Port ====== sudo vi /etc/ssh/sshd_config and change the **Port**: Port PermitRootLogin no ---- ===== Restart sshd ===== sudo /etc/init.d/ssh restart
sudo vi /etc/ssh/sshd_config
sudo /etc/init.d/ssh restart