Enabling ssh root access on Ubuntu

Enabling ssh root access on Ubuntu

Ubuntu ssh root access is by default disabled, as anybody probably already know, and all administrative tasks have to be done using sudo. Despite the security reasons, sometimes we will need the root account enable and ready to be used, so let’s see how to do it:

1. Adding password to root account

2. Configuring ssh to allow remote root access

We modified sshd_config file:

Comment out the following line:

Add just below the following line, and save the file:

Finally reload ssh configuration:

3. Verify it is working

From now, connect to Ubuntu system with root is possible.

Get CollectNode now !

Leave CollectNode to make the hard work, and spend your time where really matters.

Pin It on Pinterest