🔒 Closed Guide to enable root login on azure/google/aws vps

Status
Not open for further replies.

PesteM DiabolicaE

Contributor
Established
may mga post akong nakikita or nag aask kung paano enable ang root access for AWS amazon .. Google Cloud.. Azure VPS and etc... sa mga gumagamit ng key or pem key .. ito ang guide para makalogin tayo using root .. para di na need ng pem key or private key

instruction

1. First login to your VPS using your credentials .. pag naka login na kayo ..

type this command

# ~ sudo su

this is for us to be able to use root access

2. Then change the root password with the following command

# ~ sudo passwd root

lagay ninyo yung desired root password ninyo

3.. after finished setting the root password

the next step is to go to the SSHD_CONFIG, type the following command

# ~ nano / etc / ssh / sshd_config

hanapin yung line na ito

PermitRootLogin no

change it to

PermitRootLogin yes

and

PasswordAuthentication no

change it to

PasswordAuthentication yes

after na naichange ninyo


press CTRL + O then enter at CTRL + X to exit

Restart your VPS / server


# ~ sudo service sshd restart

after ninyo ma restart .. exit putty or kung anu man gamit ninyo


then Access ninyo ulit using ROOT

yan papasok na as root

enjoy..


C.T.T.O . diko ma alala kung kanino ko ito na tutunan
 
Status
Not open for further replies.

About this Thread

  • 57
    Replies
  • 5K
    Views
  • 40
    Participants
Last reply from:
Android Jc

Trending Topics

Online now

Members online
1,191
Guests online
1,230
Total visitors
2,421

Forum statistics

Threads
2,274,522
Posts
28,956,490
Members
1,234,260
Latest member
jaja08
Back
Top