'This rule is intended to permit inbound ssh
Allowing ssh traffic traffic from all sources, so no group_id is
provided.
Setting a group_id would only permit traffic from ports
belonging to the same security group.'

@classmethod
def create_loginable_secgroup_rule(cls, secgroup_id=None):

    rule_list = [{'protocol': 'tcp', 'direction': 'ingress', 'port_range_min': 22, 'port_range_max': 22, 'remote_ip_prefix': '0.0.0.0/0'}]
    cls.create_secgroup_rules(rule_list, secgroup_id=secgroup_id)
