Enable Root Login via SSH

August 22, 2019 Alison Gray

Normally, SSH root logins are disabled by default in new Ubuntu installs. In this video, we outline how to enable root SSH logins in Ubuntu in a new build by editing the sshd_config file.

Commands used:

vim /etc/ssh/sshd_config
modify: PermitRootLogin from "no" to "yes"
systemctl restart sshd
or
service sshd restart

The related information for this article can be found here: https://www.liquidweb.com/kb/enable-root-login-via-ssh/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or to learn about our current specials visit https://www.liquidweb.com/products/vps/

Video by: Alison Gray

Previous Video
How To Remove PostgreSQL
How To Remove PostgreSQL

In this video, we review how to remove PostgreSQL for your Ubuntu server. The command we are using are: dp...

Next Video
Getting Started With Flask
Getting Started With Flask

In this video tutorial, we will be showing you how to get started with Flask and build a web application. F...

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now