Enable ssh root login

Most preinstalled OSes forbid ssh login as user root for security reason.
You can switch to user root from your normal ssh login by using sudo or su -.

In case you need ssh root login to be enabled, you can enable it by editing /etc/ssh/sshd_config (i.E. via "sudo nano /etc/ssh/sshd_config") and edit "PermitRootLogin no" to "PermitRootLogin yes".
After this you need to restart the ssh server by running "systemctl restart sshd"

Please note, that enabling root login weakens the security of your VPS or dedicated Server and is therefore not recommended.

  • ssh, VPS, root, login
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Vmware tools

We always install vmware tools on our VPS to offer our customers. After a kernel update you have...

Which system can be installed on my VPS?

Our VPS nodes are KVM and Vmware based and support a realy wide range of OS.For example:Windows...

Traffic Flat on VPS/shared hosting ToS

Our traffic flat offer on VPS and shared hosting (Romania and Finland) is fair use. If a customer...

I lost my root password - what now?

Please notice that the root password cant be restored on our VPS and dedicated server. In case...

Remove disc from sources.list

Want to update Debian but just recive this error?: Media change: please insert the disc...