Connect to an EC2 Linux instance by SSH client

Connect to an EC2 Linux instance by SSH client

After you have launched your Amazon EC2 Linux instance it’s time to connect to it. You can connect it through a standalone SSH client like BitVise SSH client or PuTTY. Here we will use bitvise SSH client to connect to EC2 Linux installation.

Requirements: 

  1. Private Key file(.pem) downloaded during Launch of your EC2 instance.                                                                                          
  2. Public DNS name or endpoint or the Public IP address of the EC2 instance.                                                                                     
  3. Username of the EC2 instance. This username depends on the image you have installed. Generally the username could be found in the Example section when you click the Connect by selecting the EC2 instance in the instance page.                                  

How To Connect:

  1. First download the bitvise SSH client from here.
  2. Install the bitvise SSH client.
  3. Open the bitvise SSH client.                                                                                              
  4. Import the Private Key(.pem) in the bitvise SSH client by clicking the Client Key Manager.                                                     
  5. Supply the Host which is the Public IP of your EC2 instance.
  6. Supply the Username of the EC2 instance.
  7. Supply the Initial Method as publickey.
  8. Choose the Client Key.                                                                                                                                                                          
  9. Now Login to the instance. Successful login will lead you to the shell prompt.                                                                                    

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.