How to enable the `root` SSH login in Debian / Ubuntu (if it is disabled)?

ssh
debian
ubuntu

(Dmitry Fedyuk) #1

Set in /etc/ssh/sshd_config:

PermitRootLogin yes

Then restart SSH:

service ssh restart

askubuntu.com/a/489034


My `sshd_config` for Ubuntu in Amazon EC2
How to become `root` in Debian / Ubuntu?
How to fix «Please login as the user "ubuntu" rather than the user "root"»?
(Dmitry Fedyuk) #2

See also: