docs icon indicating copy to clipboard operation
docs copied to clipboard

Elastic Compute Cloud (EC2) asks password when trying to ssh into the instance

Open mayurm16 opened this issue 1 year ago • 0 comments

Followed the steps in docs created a key pair created a security group in with ingress rule on port 8080 { "SecurityGroups": [ { "Description": "test", "GroupName": "default", "IpPermissions": [ { "FromPort": 8080, "IpProtocol": "tcp", "IpRanges": [ { "CidrIp": "0.0.0.0/0" } ], "Ipv6Ranges": [], "PrefixListIds": [], "ToPort": 8080, "UserIdGroupPairs": [] }, { "FromPort": 22, "IpProtocol": "tcp", "IpRanges": [ { "CidrIp": "0.0.0.0/0" } ], "Ipv6Ranges": [], "PrefixListIds": [], "ToPort": 22, "UserIdGroupPairs": [] } ], "OwnerId": "000000000000", "GroupId": "sg-d8d9aa17141000527", "IpPermissionsEgress": [ { "IpProtocol": "-1", "IpRanges": [ { "CidrIp": "0.0.0.0/0" } ], "Ipv6Ranges": [], "PrefixListIds": [], "UserIdGroupPairs": [] } ], "Tags": [], "VpcId": "vpc-07629ff7" } ] }

ran instances with both ubuntu and amazon linux 2023 when trying to ssh into the ssh instance it asks for password image

mayurm16 avatar Oct 11 '24 11:10 mayurm16