Site icon Learning & Doing

enable root ssh ubuntu 16

sudo sed -i \’s/prohibit-password/yes/\’ /etc/ssh/sshd_config

passwd root

sudo systemctl restart sshd

Exit mobile version