Before you begin, you must have Amazon Lightsail instance running. If you do not know about Lightsail and have not created the instance, you may first visit How to host WordPress Website on Amazon Lightsail 2021.
In this article, we will demonstrate how to SSH and connect to Amazon Lightsail Instance using puTTy client software. Follow the steps below in a sequence.
Table of Contents
PuTTy Client
First of all, download and install Putty client software on your computer.

Amazon Lightsail Instance
Log in to the AWS account and open the running Lightsail instance. Note down the static IP address to use later in this article. Click the instance name to continue.

Downloading Private Key File (PEM)
Download the private key that will be used later to access the Lightsail instance using the puTTy client.

Click the “Download” button to download the private key file with the PEM (Privacy Enhanced Mail) extension.

Converting Private Key from PEM to PPK
We need to convert the PEM to PPK (Putty Private Key) using the PuTTYgen app that will have already been installed with the puTTy client software. Open PuTTy Key Generator and load the downloaded PEM file.


Once the key has been imported, it will prompt a dialogue box, click OK to continue.

Now click the “Save private key” button, give the key a suitable name and you have the PPK on your computer that will be used to access the Lightsail instance.

PuTTy Configuration
To open SSH connection with the Lightsail instance, we need to do certain configurations to the puTTy client. Following are the steps: 1) Provide Static IP, 2) Provide username, 3) Upload PPK key, 4) Configure Tunnel, and 5) Save puTTy Session.





SSH to Lightsail Instance using PuTTy
Once you have configured the puTTY client, click Open button to create SSH session to the Lightsail instance. We will see the command-line interface to our instance.

Now we need the bitnami instance password to access PHPMyAdmin, we can get it by issuing the following command on CLI.
cat bitnami_application_password

Opening PHPMyAdmin
We can access phpMyAdmin by requesting the following URL on the browser. The default username is root and the password is bitnami instance password that we got in step 10.
http://localhost:8888/phpmyadmin

