Connecting to your Linux or Unix instance in Amazon Lightsail
Last updated: July 5, 2018
Amazon Lightsail provides you with a browser-based SSH client, which is the fastest way to connect to your Linux or Unix instance. You can also use your own SSH client to connect to your instance. For more information, see Download and set up PuTTY to connect using SSH in Amazon Lightsail.
Connect to your instance with SSH to perform administrative tasks on the server, such as installing software packages or configuring web applications. The browser-based SSH client requires no software installation, and is available almost immediately after you create an instance.
Note
To connect to a Windows Server instance in Lightsail, see Connect to your Windows-based instance using Amazon Lightsail.
Sign in to the Lightsail console.
Access the browser-based SSH client for the instance that you want to connect to by using any of the following:
Choose the quick connect icon, as shown in the following example.
Choose the actions menu icon (⋮), then choose Connect.
Choose the name of the instance, and on the Connect tab, choose Connect using SSH.
You can start interacting with your instance when the browser-based SSH client opens, and a terminal screen is displayed as shown in the following example:
Note
The Connect tab also provides the information required to connect using your own SSH client. For more information, see Download and set up PuTTY to connect using SSH in Amazon Lightsail
To connect to your Linux or Unix instance
Interact with your Linux or Unix instance using the browser-based SSH client
Type Linux or Unix commands directly into the terminal screen, paste text into the terminal screen, or copy text from the terminal screen of the browser-based SSH client. The following sections show you how to copy and paste text to and from the clipboard in SSH.
Highlight text in your local desktop, then press Ctrl+C or Cmd+C to copy it to your local clipboard.
In the bottom right corner of the browser-based SSH client, choose the clipboard icon. The browser-based SSH client clipboard text box appears.
Click into the text box, then press Ctrl+V or Cmd+V to paste the contents from your local clipboard into the browser-based SSH client clipboard.
Right-click any area on the SSH terminal screen to paste the text from the browser-based SSH client clipboard to the terminal screen.
To paste text into the browser-based SSH client
Highlight text on the terminal screen.
In the bottom right corner of the browser-based SSH client, choose the clipboard icon. The browser-based SSH client clipboard text box appears.
Highlight the text that you want to copy, then press Ctrl+C or Cmd+C to copy the text to your local clipboard. You can now paste the copied text anywhere in your local desktop.
To copy text from the browser-based SSH client