Server refused our key or No supported authentication methods available – AWS / EC2

Posted: May 19, 2014 in web

If you use PuTTY to connect to your instance and get either of the following errors, Error: Server refused our key or Error: No supported authentication methods available, verify that you are connecting with the appropriate user name for your AMI. Enter the user name in the User name box in the PuTTY Configuration window.

The appropriate user names are as follows:

For an Amazon Linux AMI, the user name is ec2-user.

For a RHEL5 AMI, the user name is often root but might be ec2-user.

For an Ubuntu AMI, the user name is ubuntu.

Otherwise, check with your AMI provider.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s