skip to Main Content

I am testing Linux instances on an EC2/AWS server (Ubuntu, Debian, Fedora, Amazon Linux, etc.).

What are the default usernames, so I can connect via SSH?

3

Answers


  1. Chosen as BEST ANSWER

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

    For a CentOS AMI, the user name is centos.

    For a Debian AMI, the user name is admin.

    For a Fedora AMI, the user name is ec2-user or fedora.

    For a RHEL AMI, the user name is ec2-user or root.

    For a SUSE AMI, the user name is ec2-user or root.

    For an Ubuntu AMI, the user name is ubuntu.

    source: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connection-prereqs.html


  2. you dont need an username to run instance on a putty , you just need insert key and public ip of taht in

    Login or Signup to reply.
  3. The default username for Amazon Linux AMIs is root.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search