Debian 11 (Bullseye) Server – enable SSH root login

To enable SSH login for a root user on Debian Linux system you need to first configure SSH server

# vi /etc/ssh/sshd_config
PermitRootLogin yes
# /etc/init.d/ssh restart
Restarting ssh (via systemctl): ssh.service.

Leave a Reply

You must be logged in to post a comment.