Sunday, 27 February 2022

How to login root user in Aws EC2 instance ?

 Run the Following Commands in login user  :

sudo -s

vi /root/.ssh/authorized_keys

πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡



After Runing Commands Vim Editor open then delete the highlight code in vim editor

πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡


After deleting press Esc then :(colon ) the wq and press Enter , Now you also login through Root

No comments:

Post a Comment

HTTP module in NodeJS(Core module of NodeJS)

 What is HTTP module in Nodejs? To make HTTP requests in Node.js, there is a built-in module  HTTP  in Node.js to transfer data over the HTT...