Here you can search and view our site Knowledge Base.
To find a specific article, use KB-article number format (ex. KB-1)

Article number: Article number: kb-23
Q. How to enable SSH root login on Debian Linux Server?

A. Allow SSH root login on Debian

To enable SSH login for a root user on Debian Linux system you need to first configure SSH server. Open /etc/ssh/sshd_config and change the following line:

PermitRootLogin without-password
PermitRootLogin yes

Once you made the above change restart your SSH server:

# /etc/init.d/ssh restart
[ ok ] Restarting ssh (via systemctl): ssh.service.

From now on you will be able to ssh login as a root:

This page has been viewed 1798 times

Other questions in this category Other questions in this category
1. How To Install yum On Linux Debian? (viewed 1741 times)

Return to Search

Back to Top