I lose connection with my Amazon EC2 VM. I think the reason is that I have configured the wrong route table rules, but is there any other way to login to the VM to see what actually happened?
Using get system log I get some information, but I also noticed that at the bottom there is this line:
Red Hat Enterprise Linux Server 7.1 (Maipo) Kernel 3.10.0-229.el7.x86_64 on an x86_64 ip-172-31-30-157 login:
I wonder if I can use this to login into the VM, but the username is ec2-user? What is the password? I usually use
ssh -i without password!