Connect to the Amazon Lightsail SSH Shell to Find the Default WordPress User Password

Colby Fayock
InstructorColby Fayock
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 4 years ago

In this lesson, you'll learn how to connect to your WordPress Instance using the SSH shell in Amazon Lightsail. We'll walk through finding where to start the SSH connection, viewing the stored password, and using it along with the default username to log into your WordPress site.

Colby Fayock: [0:00] We're going to start off with a new WordPress instance running in AWS Lightsail. If we open up this public IP, we can see that our WordPress site is actively available.

[0:07] If we try to go to the login address, we're stuck because we don't know what the username and password is. When spinning up a new WordPress instance with Lightsail, our default username is going to be user.

[0:16] In order to find out our password, we have to navigate back over to Lightsail, scroll down and Connect using SSH. Once we click that link, we can see that we now have an SSH terminal into our WordPress site.

[0:26] Here, we can type an ls -a, which will show us all the files. In particular, we want to see the value inside of bitnami_application_password.

[0:34] We can run the command cat bitnami_application_password, which will show us our new password. We can now select that value, we can right-click it and click copy and back inside of WordPress, we can paste that value in and click Log In.

[0:48] In review, we have our WordPress site, but we wanted to know how to log in. Inside of AWS Lightsail, we were able to connect into our WordPress instance using SSH. Clicking that button to open up a new SSH terminal, we were able to cat out the value inside of bitnami_application_password.

[1:02] Once we have our password value, we are able to go back to WordPress and log in with our default user.

egghead
egghead
~ just now

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today