If you attempt to Putty (SSH) into an Amazon Web Services (AWS) Linux or Windows Amazon Machine Instance (AMI) instance, you may receive an error similar to below.
Disconnected: No supported authentication methods available
(server sent: publickey,gssapi-keyex,gssapi-with-mix)
You are most likely using an incorrect login username combination along with a private key. Per Amazon documentation here, use the following default login/usernames when connecting to your AMI instance.
Otherwise, if ec2-user and root don't work, check with the AMI provider.
If you are using the OS:
- run: ssh -i your-ssh-key.pem login@IP-or-DNS</p">login@IP-or-DNS>
Comments