Skip to Content
All memories

Login as root via ssh

 — #ssh#root#linux

In order to be able to login as root via ssh you need to give the root account a password.

sudo passwd root

Then check your ssh config file

sudo nano /etc/ssh/sshd_config

Search for PermitRootLogin and change it to yes