https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connection-prereqs.html
Get the default user name for the AMI that you used to launch your instance:
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
orfedora
.For a RHEL AMI, the user name is
ec2-user
orroot
.For a SUSE AMI, the user name is
ec2-user
orroot
.For an Ubuntu AMI, the user name is
ubuntu
.Otherwise, if
ec2-user
androot
don't work, check with the AMI provider.
No comments:
Post a Comment