Skip to content

Failed to connect to your instance

0

Hello,

Hi guys this its an old question still no permanent solution to it i hope i can get several knowledge view points.

Now the problem is I am not able to connect to my AWS connect over SSH

Enter image description here

  1. My instance is bitnami and i tried with different username but it will not work
  2. I am able to connect to instance through my terminal not SSH and AWS connect and Instance is working properly.
  3. I tried to connect a amazon linux instance and it connected means there is something with the bitnami instances where AWS connect is not working. So, experts do you have some insight into this and please give me some knowledge and your help to solve this problem for all the AWS user permanently.
2 Answers
1

Hello.

I'm guessing from the image you shared that you are trying to connect from the management console using EC2 Instance Connect.
So, first make sure you have fulfilled all the prerequisites for using EC2 Instance Connect.
Prerequisites for use are described in the following documents:
A common problem is that the EC2 instance's security group does not allow SSH connections from "EC2_INSTANCE_CONNECT".
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-prerequisites.html

EXPERT
answered a year ago
EXPERT
reviewed a year ago
EXPERT
reviewed a year ago
  • Yes, that may be case but I have checked the prerequisites and everything is fine and the security described is also allowing the SSH inbound traffic at port 22. And there was one things that the Supported AWS AMIs like Amazon linux and some other but there was not bitnami still SSH is installed on bitnami and I have confirm through terminal and i am using root account so I have all permissions. Is there any solution.

  • If your OS supports it, you can use it by installing EC2 Instance Connect. Also, bitnami is the name of the tool, not the OS. To check the EC2 OS, you need to check the "/etc/os-release" file. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-set-up.html

0

Is this a AWS Lightsail Instance or an EC2-Instance?

AWS
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.