How to enable root login in ubuntu for putty console access

How to enable the root login in ubuntu


I will try to login root as in putty tool



now go to the server console (VM ware ,oracle virtual box or go to server)


here I am using virtual box console so I will go through




now goto the following path


vi /etc/ssh/sshd_config (This the configuration file for ssh connection)


about ssh please refer this https://en.wikipedia.org/wiki/Secure_Shell



we need to change PermitRootLogin prohibit-password as a PermitRootLogin yes


after changing the ssh_config save with the
:wq comand



now we need restart the sshd service


service sshd restart


now going to check status


service sshd status



now try login with putty as a root



now we able to login with putty ,Successfully configured root login through putty in ubuntu server


For video reference please refer here



Comments

Popular posts from this blog

Enable the SSL in jetty web server

How to install Edubuntu in Windows through oracle VM

How to configure the apache2 in the ubuntu 16.04 Step by Step