• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How-to login as root in your vps if you cant

Acubens

Old Penguin
Joined
May 6, 2008
Messages
1,261
Solutions
13
Reaction score
184
Location
Venezuela
Login normaly in your vps then write on your console

Lua:
sudo su -

After that then you have access as root then write on your console
Code:
passwd

That is for add password for root user

After that now edit your sshd_config using

Lua:
nano /etc/ssh/sshd_config

And look for

Lua:
PermitRootLogin

And set it to yes

Note: if PermitRootLogin is commented with # then uncomment it.

Now restart your sshd_config using

Lua:
service sshd restart

Now u can login with root user in your vps

Enjoy!
 
This tutorial is for people that need know it and for these people that uses ssh clients with graphic interface that not let you edit files like bitvise or any others, not all people have experiencie and uses command line.
 
Back
Top