ec2 Add your IP address to an EC2 security group from command line If you have an EC2 instance, for example a jump station, with restricted SSH access for only known IP addresses, then you most likely want a fast and smooth way of adding your new IP address to the security group when connected with a