Page 1 of 1

Enable SSH root login on Debian family Linux server

PostPosted: 2017 Oct 18, 16:15
by serveroffer
To enable SSH login for a root user on Debian Linux system you need to change SSH server settings.
Open /etc/ssh/sshd_config and change the following line:
Code: Select all
PermitRootLogin without-password

To:
Code: Select all
PermitRootLogin yes

And restart SSH server:
Code: Select all
/etc/init.d/ssh restart