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. wow...nice blog, very helpful information. Thanks for sharing.

      Cloud Services | Austere Technologies

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

      Mobility Services | Austere Technologies

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

      Best Quality Management Services | Austere Technologies

      ReplyDelete
    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

      ReplyDelete
    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

      ReplyDelete
    9. Hi Thanks for the nice information its very useful to read your blog. We provide best Block Chain Services

      ReplyDelete
    10. Hi Thanks for the nice information its very useful to read your blog. We provide best System Integration Services

      ReplyDelete
    11. 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
    12. Hi Thanks for the nice information its very useful to read your blog. We provide best company secretary course

      ReplyDelete
    13. Hi Thanks for the nice information its very useful to read your blog. We provide best Chartered Accountancy

      ReplyDelete
    14. Hi Thanks for the nice information its very useful to read your blog. We provide best Cost And Management Accountancy (CMA)

      ReplyDelete
    15. Hi Thanks for the nice information its very useful to read your blog. We provide best Certified Public Accountant

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

      ReplyDelete
    17. 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
    18. Hi Thanks for the nice information its very useful to read your blog. We provide best Association Of Chartered Certified Accountants

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

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

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

      ReplyDelete
    22. Hi Thanks for the nice information its very useful to read your blog. We provide best Find All Isfs Courses

      ReplyDelete