How to connect to aws ec2 from windows machine using pem file

    To use pem file from windows machine to connect to aws ec2 instance Follow these steps Download: putty and puttygen
    1. Use puttygen to convert pem to ppk

    2. When you opened puttygen you will see load button click on that and select <filename>.pem file

    3. After its loaded click on save private key and give that a name

    4. Open putty

    5. In Host Name type: ec2-user@<instance ip>

    6. In putty sidebar under category -> Connection > SSH > Auth (Click on Auth)

    7. Click browse button and select the ppk file you have generated with puttygen

    8. Click open it will work
    Average: 5 (1 vote)