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:
- Open the Lightsail console.
- Select the Lightsail instance that you want to connect to.
- 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.
- Connect to your Lightsail instance from the SSH client with the IP address, username, and key pair you noted.
- (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.
- (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