How to SSH Into an Amazon Lightsail Server

To connect to your Amazon Lightsail instance via SSH, you’ll need your PEM key and the server’s public IP address. If you don’t have a PEM key yet, read my tutorial on How to Download Your PEM File in AWS Lightsail.

Step 1 – Open a terminal (Windows PowerShell, macOS / Linux Terminal) and run the following SSH command:

BASH
ssh -i NameOfPEMFile.pem bitnami@IP.Address.Here

Step 2 – In Powershell, you’ll want to ensure the path of your PEM file is in quotes. Example below:

BASH
ssh -i "C:\Users\YourName\My SSH Keys\lightsail-key.pem" bitnami@44.196.11.84

Step 3 – You should be prompted to accept the fingerprint. Type yes to trust the server and complete the connection. Once connected, you’ll be logged into your Lightsail server as the bitnami user.

Bonus: I have a YouTube tutorial showing basic SSH commands. Go to: SSH Basics for AWS Beginners | Essential Linux Commands (EC2 & Lightsail Tutorial).

Watch Video

How to SSH Into an Amazon Lightsail Server

YouTubeWatch now →

Continue Exploring

Explore All Guides

Tools We Recommend

Recommended Tools

Shopify

Shopify is one of the most powerful all-in-one eCommerce platforms available today, designed to help anyone—from beginners to…

4.7
Updraft

UpdraftPlus Review – The Easiest Way to Back Up Your WordPress Website If you’re running a WordPress site…

4.7
Free / Pro from $70/yr (2 sites)
Zillion Designs

At manzari.com, we’ve been using Zillion Designs since 2015 as our go-to platform for logo design and brand…

4.5
From $199 (+ 20% processing fee)

Affiliate links — we may earn a commission at no extra cost to you.

About Manzari

Manzari is an independent publisher focused on WordPress, website technology, business software, and practical tech guides. Our goal is to help you choose better tools and make informed decisions with honest, transparent recommendations.

57+
In-depth WordPress guides
23+
Real tools tested & reviewed
21yr
Building with WordPress
100%
No paid placements, ever