1 Answer
- Newest
- Most votes
- Most comments
0
If you don't have a key pair associated to your instance, the connection using SSH is not possible (Amazon EC2 key pairs and Linux instances).
One alternative is to use the AWS Systems Manager Session Manager service. For that the AWS SSM agent must be installed in your instance (many of the common AWS instances have it already installed by default). For more info check the AWS Session Manager prerequisites.
Another alternative is to add a new key pair to your existing instance. For this, check the following guide: I've lost my private key. How can I connect to my Linux instance?.
answered a year ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago