The appropriate user names are as follows:
- For an Amazon Linux AMI, the user name is ec2-user.
- For a RHEL AMI, the user name is ec2-user or root.
- For an Ubuntu AMI, the user name is ubuntu or root.
- For a Centos AMI, the user name is centos.
- For a Fedora AMI, the user name is ec2-user.
- For SUSE, the user name is ec2-user or root.
- Otherwise, if ec2-user and root don’t work, check with the AMI provider.
Thanks
Osama














