Connect to the Amazon Lightsail SSH Shell to Find the Default WordPress User Password
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...
Duration
1 min
Access
Free
Transcript
Available
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.
Video Transcript
Colby Fayock: 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.
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.
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.
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.
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.
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.
Once we have our password value, we are able to go back to WordPress and log in with our default user.