Unable to reach AWS EC2 node

0

Unable to reach one of the EC2 node from another EC2 node from he same region. SSH/Telnet is not able to connect.

Biju
已提問 6 個月前檢視次數 147 次
2 個答案
1
  • Please check and review your security groups on each instance for inbound and outbound rules.
  • If between subnets, ensure the NACLs allow connectivity.
  • If in different VPCs, ensure you have the correct routing inplace between them.
profile picture
專家
已回答 6 個月前
profile picture
專家
Steve_M
已審閱 6 個月前
1

If the problem is network connectivity then the solution will be one of the items in @Gary's answer.

Also, if you're connecting between EC2s in the same VPC (or in peered VPCs) make sure it's the private IP you're using.

If a connection can be established from the source EC2 to the target EC2 then look at the method of authentication.

For SSH to work the source EC2 is going to need to present the private key that matches the public key for that user on the target EC2.

For telnet to work, the telnet-server package needs to be installed on the target EC2, and it almost certainly won't be by default - see https://repost.aws/questions/QUTZ-MGNKRSCG3KOeH2qqyFg/how-do-you-create-a-instance-that-allows-telnet#AN4MDvMHYbSDeIIsEfRZ_H0Q

profile picture
專家
Steve_M
已回答 6 個月前
profile picture
專家
已審閱 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南