Skip to content

Instantly share code, notes, and snippets.

@kingoamino
Last active April 20, 2020 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kingoamino/03d253ccd51c76ff787623d9fd97e8e7 to your computer and use it in GitHub Desktop.
Save kingoamino/03d253ccd51c76ff787623d9fd97e8e7 to your computer and use it in GitHub Desktop.
Default ssh Usernames For Connecting To EC2 Instances
----------------------------------------------------------------------------------------
OS/Distro | Official AMI | Legacy / Community / Other AMI ssh Username |
----------------------------------------------------------------------------------------
Amazon Linux | ec2-user | |
Ubuntu | ubuntu | root |
Debian | admin | root |
RHEL 6.4 and later | ec2-user | |
RHEL 6.3 and earlier | root | |
Fedora | fedora | ec2-user, root |
Centos | centos | root |
SUSE | ec2-user | root |
BitNami | bitnami | |
TurnKey | root | |
NanoStack | ubuntu | |
FreeBSD | ec2-user | |
OmniOS | root | |
-----------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment