"Fix" Putty failed to log on using private key downloaded from AWS

Source: Internet
Author: User

If an KeyPair private key (*.PEM) is created and downloaded when AWS launches an instance, this private key can be telnet to this instance system as credentials via putty. In practice, however, you will be prompted with the following error when logging in with Putty:

No Supported authentication methods available (server Sent:publickey)

This is due to the fact that AWS generated key files (*.PEM) and putty require a different key file (*.PPK) format.

The specific solutions are as follows:

1. Download the PuTTYgen.exe file from the following page:

Http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

2. Use the tools above to convert the. pem file generated by AWS to a. ppk file.

3. Using the newly generated. ppk file, you can successfully log on to the AWS instance.

See:

Http://support.rightscale.com/06-FAQs/FAQ_0038_-_How_can_I_get_PuTTY_to_work_to_SSH_into_running_instances

Https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html

"Fix" Putty failed to log on using private key downloaded from AWS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.