Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Connect to Linux/Unix Lightsail instances with PuTTY

Focus mode
Connect to Linux/Unix Lightsail instances with PuTTY - Amazon Lightsail

In addition to the browser-based SSH terminal in Lightsail, you can also connect to your Linux-based instance using an SSH client such as PuTTY. To learn how to set up PuTTY, see Download and set up PuTTY to connect using SSH in Lightsail.

Note

To connect to a Windows-based instance using RDP, see Connect to your Windows-based Lightsail instance.

You can use the default private key that Lightsail provides, a new private key from Lightsail, or another private key that you use with another service.

  1. Start PuTTY (for example, from the Start menu, choose All Programs, PuTTY, PuTTY).

  2. Choose Load, and then find your saved session.

    If you don't have a saved session, see Step 4: Finish configuring PuTTY with your private key and instance information.

  3. Log in using one of the following default user names depending on your instance operating system:

    • AlmaLinux, Amazon Linux 2, Amazon Linux 2023, CentOS Stream 9, FreeBSD, and openSUSE instances: ec2-user

    • Debian instances: admin

    • Ubuntu instances: ubuntu

    • Bitnami instances: bitnami

    • Plesk instances: ubuntu

    • cPanel & WHM instances: centos

    For more information about instance operating systems, see Choosing an image in Lightsail.

To learn more about SSH, see SSH and connecting to your Amazon Lightsail instance.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.