Saturday, May 9, 2015

Access your AWS linux instance from windows

The traditional SSH into Unix is not supported directly. You need to generate a pair of RSA keys and add public key to EC2 to login.

On your windows instance: You have to the following steps. Putty does not support the private key format (.pem) generated by Amazon EC2 so you have to generated keys using Git Bash and then convert them into keys in PuttyGen.

  • PuTTY does not natively support the private key format (.pem) generated by Amazon EC2. 

  • Install Putty (Download). 
  • Install PuttyGen, (Download).
  • Download and Install Git Bash (Download link)
  • Open Git Bash --It opens a console
  • Run the following command ssh-keygen -t rsa 
           Generating public/private rsa key pair.
              Enter file in which to save the key (/c/Users/admin/.ssh/id_rsa):
    • The above process generates a public key and a private key.
    • Open puttyGen and load private key and save private key. 
    • Open putty and in settings -->SSH->Auth--Add your private key


    1. excellent article .j'aime beaucoup tous ces informations pour l’accès awx liinux .

    2. Really great blog, it's very helpful and has great knowledgeable information. Thanks for sharing, keep updating such a good informative blog.
      Digital Transformation Services | Austere Technologies

    3. Very nice information and explanation is good. Thanks for sharing. keep on updating such a nice information.
      Summer Training for Graphic Designing in Chennai | Summer Training for Graphic Designing in Velachery

    4. wow...nice blog, very helpful information. Thanks for sharing.

      Cloud Services | Austere Technologies

    5. Nice blog with excellent information. Thank you, keep sharing.

      Mobility Services | Austere Technologies

    6. Great article, really very helpful content you made. Thank you, keep sharing.

      Best Quality Management Services | Austere Technologies

    7. After reading this article I am really impressed with this blog, sharing much more useful content really I appreciate that thanks much for providing good information here...
      Best Online Software Training Institute | Software Training in Chennai

    8. Very good informative article. Thanks for sharing such nice article, keep on up dating such good articles.
      Best Commerce College| Avinash college of commerce