Is there a way to discover or specify the username I need to use to ssh in to an ec2 instance? I know how to select my key pair, but depending on the ami, you need to use a different username.
For example, the official ubuntu images require you to ssh in with
ubuntu@..., the debian images with
root@... and the fedora images with
ec2-user@.... However, sometimes I just want to search an ami from the 'community AMI's', but then I don't know which username my keypair was associated with.
So how is one supposed to know this? Is there a way to specify this when launching the instance? Am I overlooking something?