ubuntu - AWS security group settings -


currently, connect pc redhat instance, , redhat, connect ubuntu. thing is, cannot manage connect ubuntu, have timeout error.

in security group of ubuntu, put following settings in inbound:

type=ssh protocol=tcp port=22 source=publicipofredhat/32

and redhad, connect using ssh -i ~/.ssh/ubuntu.pem ubuntu@publicipofredhat

this setting not work, know why.

i changed setting , put securitygroupofredhat instead of ip , works. setting, means instance within security group can access ubuntu (which dont want), right ?

could please these settings ? explain me wrong , how fix ?

include redhat private ip , should make work.

generally, connecting security group security group better (than including ips in security group). it's less brittle. if other instances in same sg redhat instance, need use more specific security groups.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -