I am new to AWS. First time I when created my AWS account, I created an AWS linux EC2 instance and connected to it via browser-based SSH connection. It was straight forward and there was no error. Then I terminate that instance and created a new Ubuntu instance. Now I can't connect to it like before. I got this error.
Why could this happen? Is this something to do with AMIs? or keypairs?
ec2-user@...
is for AWS Linux andubuntu@...
is for Ubuntu. – Matus Dubrava