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