Informational Website publish

Blog

News about our company, tutorials about IT and much more you will find in this page.

How to enable ssh root access on Ubuntu 14.04

Janeiro 30th, 2018

By default, root access is blocked on Ubuntu 14.04, then lets unblock it.

Define password to root:

  • sudo passwd root
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
  • su –
Password:

You need to edit /etc/ssh/sshd_config, please use command:

  • nano /etc/ssh/sshd_config

Find the line and change from:

PermitRootLogin without-password

Change to:

PermitRootLogin yes

Then, restart sshd:

  • service ssh restart