Ubuntu 18 - allow root access via SSH

sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config

sudo service ssh restart

 

Was this answer helpful?

 Print this Article

Also Read

Installing Webmin on Ubuntu

Preparing the System   Run the below command at the command line promt. This will install the...

Creating a ssl certificate for Apache 2.x on Ubuntu using openssl

** The below article presumes that you already have openssl installed - if not see the following...

tips on upgrading ubuntu 8.04 to 10.04

Followed instructions at https://help.ubuntu.com/community/LucidUpgrades > Upgrade from 8.04...

P2V ubuntu 14.04

STOP ALL services on the physical server including MySQL to avoid any DB corruptions1. Make a...

Ubuntu 18 - add IP addresses

Log in as root change directory to /etc/netplan vi 50-cloud-init.yaml add extra ip's as...