Unable to ssh into aws ec2 instances.

0

Hi , I am unable to ssh into any of the AWS-EC2 instances that i create. Connection server timed out prompt everytime.

已提問 2 年前檢視次數 545 次
1 個回答
2

Is the EC2 machine in a public subnet or a private subnet?

If it is in a public subnet, can you make sure the security group for the machine allows inbound traffic on the ssh port.

If it is in a private subnet, you cannot connect from the internet. You will need a bastion host on a public subnet or you will need connectivity to the VPC from your on-prem network using either IPSec VPN or DirectConnect

profile pictureAWS
專家
已回答 2 年前
profile pictureAWS
專家
Chris_G
已審閱 2 年前

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

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

回答問題指南