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.
Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Pin It on Pinterest

Share This

Share This

Share this post with your friends!