1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
You need to use username@PublicDNS
ssh -i /path/my-key-pair.pem ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com
If you click "Connect" from your EC2 dashboard, it will give you exactly what to enter in the terminal.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html
answered 5 years ago
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago