sudo nano -w /etc/ssh/sshd_config
change port from 22 to whatever
root access from yes to no
crtl+x
yes
enter
sudo service sshd restart
Modified on: Fri, Sep 24, 2021 at 2:26 PM
sudo nano -w /etc/ssh/sshd_config
change port from 22 to whatever
root access from yes to no
crtl+x
yes
enter
sudo service sshd restart
Did you find it helpful? Yes No
Send feedback