How to enable root login in Debian and Ubutnu VPS

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:

FROM:
PermitRootLogin without-password
TO:
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.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

HOW TO REGISTER NAME SERVERS

There are many registars in the world with different panels, however we have provided a...

How to Find Files by Content on Linux VPS

Introduction Is is extremely useful for every Linux user to know how to find files by its...