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.
Use your key pair and connect:
ssh -i "your-key.pem" <username>@<YOUR_PUBLIC_IP>
Make sure the
.pem
file has 400 permissions.