![]() For Fedora, the user name is either fedora or ec2-user. For RHEL5, the user name is either root or ec2-user. You'll specify the private key (.pem) file and For Amazon Linux, the user name is ec2-user. Use the ssh command to connect to the instance. But you can find some in AWS EC2 documentation, bullet point 4. will also happen if you have messed up the /home//.ssh/authorized_keys file on your EC2 instance.Ībout 2., the information about which username you should use is often lacking from the AMI Image description. Is that the right host you are trying to log in to? ubuntu is the username for the ubuntu based AWS distribution, but on some others it's ec2-user (or admin on some Debians, according to Bogdan Kulbida's answer)(can also be root, fedora, see below) Trying to connect with the wrong username. ![]() Are you sure this instance is using this keypair? These are common reasons that can cause that: This error message means you failed to authenticate. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |