DEV Community

Mukesh Purohit
Mukesh Purohit

Posted on

1 1

How to SSH a Linux instance using PuTTy...

1- Launch the Linux instance in AWS https://dev.to/its_mukeshp/launch-ec2-instance-in-aws-4f0o and download the .pem file in your computer.
2- Download the PuTTY and PuTTYgen from https://putty.org
3- Open PuTTYgen then click on load and select the .pem file from your computer and then click on Save private key. Name the key accordingly the key will be in .ppk format.
Alt Text

Alt Text
4- Copy the IPv4 Public IP form EC2 Instance.
5- Open PuTTy and paste the Ipv4 Public IP in Host Name(or IP address).
6- Click on + sign of SSH and then Auth

Alt Text

7- Click on Browse and select the .ppk file form your computer.
8- Click on Open, one window will open click on yes.

Alt Text

Alt Text
9- Black screen will open with login as: type ec2-user on that screen and enter.
Alt Text

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (1)

Collapse
 
anuvindhs profile image
Anuvindh

Thanks Mukesh, i have added your tutorial link in my blog

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay