Putty to log in to AWS EC2
It took me a few clicks to get putty working with an ec2 instance. This assumes you have putty and puttyGen installed locally.
In putty UI –
Session --> IP Address - is the private IP of the ec2.
Connection --> Data - Auto Login username - ec2-user (will fail if you try 'root'. Fear not, you can login as ec2-user and then sudo su to become superuser)
Finally, set up putty to use your private key as the auth mechanism
SSH --> Auth - browse for a ppk file (If you have an ssh private key (id_rsa under your .ssh folder), use puttyGen to generate a ppk file out of that. Once you save your private key as a ppk file, you are set to use the ppk file as the auth in putty.)
To persist these settings
"Default Settings" under "Load, and then click "Save."
Leave a Reply