Where can I find SSH login credentials so that I can connect to my Lightsail instance from an SSH client?

2 minute read
0

I want to connect to my Amazon Lightsail instance from an SSH client, but I can’t find the required SSH login credentials.

Resolution

To connect to your Lightsail instance with your own SSH client, complete the following steps:

  1. Open the Lightsail console.
  2. Select the Lightsail instance that you want to connect to.
  3. In the navigation pane, choose Connect. In the Connect using your own SSH client section, note the IP address, SSH username, and SSH key pair.
  4. Connect to your Lightsail instance from the SSH client with the IP address, username, and key pair you noted.
  5. (Optional) If your local machine uses a Windows operating system, then set up PuTTY to connect to your Linux or Unix Lightsail instance. For more information, see Download and set up PuTTY for Lightsail.
  6. (Optional) If your local machine uses a Linux or Unix operating system, then set up the native SSH client. Use the SSH client to connect to your Linux or Unix Lightsail instance. For more information, see Connect to your Lightsail Linux/Unix-based instance using the SSH command.

Some Lightsail instances might store automatically generated application credentials in a password file on the file system. To view the password file, connect to the instance from an SSH client with the SSH key.

Related information

Connect to your Lightsail Linux or Unix instances

AWS OFFICIAL
AWS OFFICIALUpdated 7 days ago