I have admin access to the AWS console and can view EC2 instances, start/stop, and so on. But I can't SSH into an EC2. I wasn't sure if the .pem key was wrong.
What option do I have to get in?
I can just reset the root password in Linode or Digital Ocean, and remote SSH in. But I don't these options on AWS.
I've tried this and it's hang. Ex. my VM IP = 1.1.1.1
➜ ~ ssh -i ~/.ssh/app.pem ubuntu@1.1.1.1 -v
OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/alpha/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 47: Applying options for *
debug1: Connecting to 1.1.1.1 [1.1.1.1] port 22.
^C
➜ ~
How can I debug this further? How do I gain SSH access?
What should I do?