Skip to main content

Connect to EC2 via SSH

Use your key pair and connect:

ssh -i "your-key.pem" <username>@<YOUR_PUBLIC_IP>

Make sure the .pem file has 400 permissions.