How to enable ssh login as root on Cheap VPS

hello,

To login as root on a cheap VPS, please follow the guide below.

Video Tutorial

1. First of all, please login via PuTTY as using the Private Key

2. Enter command code sudo su

3. enter the command code nano /etc/ssh/sshd_config

   - Search and change #PermitRootLogin prohibit-password to PermitRootLogin yes

     

   - Search and Change PasswordAuthentication no to PasswordAuthentication yes

     

4. Then Save by Pressing the button CTRL + X = Y + ENTER

5. Enter Command Code service sshd restart

6. Create a password by entering the command code passwd 

7. Please login via PuTTY and by entering the root username and password that was created earlier

Was this answer helpful?

Related Articles

How to turn off the VPS?

Please Login to Mikyhost = > Click VPS Package = > Click Shut Down thanks,

How do I turn on my VPS?

Please Login to Mikyhost = > Click VPS Package = > Click Power on   thanks,

How to Reset VPS Password?

Resetting password on VPS Package Please Login at Mikyhost = > Click VPS Package = > Click...

How to Restart VPS?

How do I restart the VPS? Please Login to Mikyhost => VPS PACKAGE => CLICK REBOOT

How to reinstall/rebuild VPS

Please enter the VPS Panel and click Rebuild and select the images to be reinstalled. thanks,