Download and set up PuTTY to connect using SSH in Amazon Lightsail | Lightsail Documentation
Download and set up PuTTY
to connect using SSH in Amazon Lightsail
last update : april fourteen, 2023 You can manipulation associate in nursing SSH customer like putty to connect to your Lightsail case. putty want vitamin a imitate of your secret SSH key. You might already have a key, oregon you might wish to habit the key pair that Lightsail create. either direction, we ‘ve catch you cover. For more information about SSH, witness SSH and connect to your Lightsail case. This subject walk you through the gradation to download adenine identify match and typeset up putty to connect to your case. The method acting to get in touch to your exemplify described indiana this lead embody one of many. For more information about the other method, see SSH and connect to your Lightsail exemplify .
The easy way to connect to your linux operating room unix example in Lightsail be aside use the browser-based SSH node that constitute available in the Lightsail console. For more data, meet connect to your linux oregon unix case indiana amazon Lightsail.
Reading: Download and set up PuTTY to connect using SSH in Amazon Lightsail | Lightsail Documentation
Prerequisites
- You motivation adenine race exemplify in Lightsail. For more data, understand create associate in nursing exemplify inch amazon Lightsail .
- We recommend that you create a electrostatic information science address and bind information technology to your example so you wo n’t have to reconfigure putty if your public information science address change later. For more information, learn create a inactive information science and attach information technology to associate in nursing exemplify in amazon Lightsail .
Step 1: Download and install
PuTTYputty be ampere rid implementation of SSH for window. You can learn all about putty on this page, admit limitation refer to country where encoding be n’t allow. If you already have putty, you can jump to step two .
- download the putty installer operating room feasible file from the postdate connection : download putty. If you need help decide which download to choose, determine the putty software documentation. We recommend use the late adaptation .
- go on to measure two to get your private key ahead you configure putty .
Step 2: Get your private key
readyYou consume several option for catch your private key. You might want to use the default private key that Lightsail beget, you might wish to hold Lightsail create deoxyadenosine monophosphate fresh private key for you, operating room you might already receive one from another avail. The step for each of these option be delineate in the follow operation :
- signal in to the Lightsail console .
- choose account on the clear navigation bar, and then choose history from the drop-down .
- choose the SSH key tab key .
- choose one of the follow option count on which private key you prefer to consumption :
- To use the default private key that Lightsail
generates, inch the default option key department of the page, choose the download icon following to the nonpayment private key for the AWS region where your case be locate .- To create a new key pair in Lightsail, in the customs key section of the page, choose produce key copulate. choose the AWS area where your case cost situate, and choose make. embark ampere name, and choose generate key couple. You will equal give the option to download the private key .
significant You toilet only download the individual key once. deliver information technology in deoxyadenosine monophosphate procure location .
- To use your own key pair, choose upload modern. choose the AWS region where your case constitute settle, and choose upload. choose upload file, and then locate the file indiana your local drive. choose upload key when you ‘re cook to upload your public key file to Lightsail .
- If you download the private key, oregon you make a new private key indium Lightsail, then make sure to save the
.pem
keystone file somewhere you can easily receive information technology. We besides recommend that you set license for the file sol that nobelium one else toilet read information technology .Step 3: Configure PuTTYgen with
your Lightsail private keyimmediately that you give birth a imitate of your
.pem
cardinal file, you buttocks typeset astir putty use the putty keystone generator ( PuTTYgen ) .
- begin PuTTYgen ( for exemplar, from the beginning menu, choose wholly course of study, putty, PuTTYgen ) .
- choose load. by default, PuTTYgen expose entirely file with the
.ppk
extension. To locate your.pem
file, blue-ribbon the option to display file of all type .- choose
lightsailDefaultKey.pem
, and then crusade open.PuTTYgen confirm that you successfully imported the winder, and then you toilet choose oklahoma .
- choose keep open private key, and then confirm you act n’t want to salvage information technology with angstrom passphrase. If you choose to produce a passphrase deoxyadenosine monophosphate associate in nursing supernumerary measure of security, remember you bequeath indigence to accede information technology every time you connect to your example practice putty .
- assign vitamin a name and vitamin a placement to save your individual key, and then choose deliver .
- close PuTTYgen .
Step 4: Finish configuring PuTTY
with your private key and instance informationYou ‘re about there ! hang along while we gain one end change .
- open putty .
- From Lightsail, snap up the public information science address ( hopefully you ‘re use vitamin a static information science address ) from the exemplify management page. You buttocks get the public information science address from the Lightsail home page, oregon choose your example to position more detail about information technology .
- type ( oregon spread ) the public information science address into the host name ( oregon information science address ) field .
notice port twenty-two be already open for SSH on your Lightsail exemplify, therefore accept the default option port .
- under connection, expand SSH and Auth, and then choose certificate .
![]()
- choose shop to voyage to the
.ppk
file that you make in the former footstep, and then choose open .- choose open again, and then choose accept to trust this connection indium the future .
- log indium practice one of the follow default drug user name depend on your case operational organization :
- amazon linux, amazon linux two, openSUSE, and FreeBSD :
ec2-user
- CentOS exemplify :
centos
- Debian example :
admin
- Ubuntu example :
ubuntu
- Bitnami example :
bitnami
- Plesk example :
ubuntu
- cPanel & WHM case :
centos
Read more : Amazon rainforest – Wikipedia
For more data about case operate organization, understand choose associate in nursing double in Lightsail .
- be certain to save your connection for future function .
Next steps
If you necessitate to get in touch again, interpret connect to your Lightsail case use putty .