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




    28 comments:

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

      ReplyDelete
    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

      ReplyDelete
    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

      ReplyDelete
    4. 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

      ReplyDelete
    5. Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip. book Andaman holiday packages

      ReplyDelete
    6. Hi Thanks for the nice information its very useful to read your blog. We provide best Certified Financial Analyst

      ReplyDelete
    7. Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip. book ANDAMAN TOUR PACKAGE @24599

      ReplyDelete
    8. Hi Thanks for the nice information its very useful to read your blog. We provide Software Development Services

      ReplyDelete
    9. Hi Thanks for the nice information its very useful to read your blog. We provide best Chartered Institute Of Management Accountants

      ReplyDelete
    10. UX design has a very skilled team. On top of that, digital product development agency professional, honest, and trustworthy. They managed the project well and were easy to work with. Clients can expect high-quality work from their team.

      ReplyDelete
    11. Fine method of telling, and enjoyable article to acquire factual statements.
      website designers San Francisco

      ReplyDelete
    12. I feel happiness to read the content that you are posting.
      UX design company

      ReplyDelete
    13. Es un blog muy interesante, me ha gustado mucho leerlo, ya que puede ser algo de gran utilidad para poner en práctica.

      ReplyDelete
    14. Enhorabuena por el artículo, muy buena redacción, se nota claramente que le pones esfuerzo y ganas.

      ReplyDelete
    15. Muy buen post, gracias por compartir esta información, sin duda seguiré esperando a que subas más contenido.

      ReplyDelete
    16. Muy chulo el artículo, contiene información muy interesante, gracias por tu interés.

      ReplyDelete
    17. Me encanta todo lo que cuentas en el post, es muy interesante y me encantaría que explicaras más sobre el tema.

      ReplyDelete
    18. They offered a fresh perspective to brand building agency guide our project

      ReplyDelete
    19. The tremendous amount of recent customers by bringing their own impeccable strategy in the advertising as well as marketing weed amounts

      ReplyDelete
    20. Expert project management and a solutions-oriented approach highlight their work.
      UI design company

      ReplyDelete
    21. The blog is unique that’s providing the nice material. Please post more interesting articles here.
      San Francisco based companies

      ReplyDelete
    22. Very Informative blog thank you for sharing. Keep sharing.

      Best software training institute in Chennai. Make your career development the best by learning software courses.

      blue prism training in chennai
      Docker Training in Chennai
      devops training in chennai

      ReplyDelete