Enable SSH root login on Debian family Linux server

Tutorials thread
User avatar
serveroffer
Site Admin
Posts: 48
Joined: 2012 Jun 16, 18:31

Enable SSH root login on Debian family Linux server

Postby serveroffer » 2017 Oct 18, 16:15

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

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 11 guests