Connecting to Your Linux EC2 Instance Using PuTTY on Window

Accessing your Amazon EC2 Linux instances from a Windows environment requires using PuTTY, a free and open-source SSH and telnet client. Here’s a step-by-step guide to get you connected quickly and securely.

Step 1: Downloading the .PPK Key …


This content originally appeared on DEV Community and was authored by Noor Fatima

Accessing your Amazon EC2 Linux instances from a Windows environment requires using PuTTY, a free and open-source SSH and telnet client. Here’s a step-by-step guide to get you connected quickly and securely.

Step 1: Downloading the .PPK Key File

  • First, download the .ppk key file directly from the AWS Management Console.
  • Generate Key Pair: When creating your EC2 instance, choose "Create a new key pair" and select "PPK" as the file format.
  • Download the .PPK File: Save the .ppk key file securely on your local machine.

Step 2: Opening PuTTY and Enter Your Instance’s Public DNS

  • Launch PuTTY: Open PuTTY from your Start menu.
  • Enter Public DNS: In the "Host Name (or IP address)" field, enter the public DNS of your EC2 instance.

Step 3: Configure SSH Authentication

  • Navigate to SSH Auth Settings: Go to "Connection" > "SSH" > "Auth" in the left-side menu.
  • Browse for PPK File: Click "Browse" and select the .ppk file you downloaded in Step 1.

Step 4: Start the SSH Session

  • Open the Session: Click "Open" at the bottom of the PuTTY window to start the session.
  • Add Screenshot: Include a screenshot of the PuTTY session window after connection.
  • Login as ec2-user: When prompted, enter ec2-user as the login name.

This is how logged in interface looks like :
Image description


This content originally appeared on DEV Community and was authored by Noor Fatima


Print Share Comment Cite Upload Translate Updates
APA

Noor Fatima | Sciencx (2024-07-20T05:59:31+00:00) Connecting to Your Linux EC2 Instance Using PuTTY on Window. Retrieved from https://www.scien.cx/2024/07/20/connecting-to-your-linux-ec2-instance-using-putty-on-window/

MLA
" » Connecting to Your Linux EC2 Instance Using PuTTY on Window." Noor Fatima | Sciencx - Saturday July 20, 2024, https://www.scien.cx/2024/07/20/connecting-to-your-linux-ec2-instance-using-putty-on-window/
HARVARD
Noor Fatima | Sciencx Saturday July 20, 2024 » Connecting to Your Linux EC2 Instance Using PuTTY on Window., viewed ,<https://www.scien.cx/2024/07/20/connecting-to-your-linux-ec2-instance-using-putty-on-window/>
VANCOUVER
Noor Fatima | Sciencx - » Connecting to Your Linux EC2 Instance Using PuTTY on Window. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/07/20/connecting-to-your-linux-ec2-instance-using-putty-on-window/
CHICAGO
" » Connecting to Your Linux EC2 Instance Using PuTTY on Window." Noor Fatima | Sciencx - Accessed . https://www.scien.cx/2024/07/20/connecting-to-your-linux-ec2-instance-using-putty-on-window/
IEEE
" » Connecting to Your Linux EC2 Instance Using PuTTY on Window." Noor Fatima | Sciencx [Online]. Available: https://www.scien.cx/2024/07/20/connecting-to-your-linux-ec2-instance-using-putty-on-window/. [Accessed: ]
rf:citation
» Connecting to Your Linux EC2 Instance Using PuTTY on Window | Noor Fatima | Sciencx | https://www.scien.cx/2024/07/20/connecting-to-your-linux-ec2-instance-using-putty-on-window/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.