ssh-me-in

Crates.iossh-me-in
lib.rsssh-me-in
version0.1.1
sourcesrc
created_at2020-03-01 13:13:50.020279
updated_at2020-03-01 13:13:50.020279
descriptionA command line tool for adding your IP as a SSH rule to EC2 AWS security groups.
homepage
repositoryhttps://github.com/arranf/ssh-me-in
max_upload_size
id214169
size66,474
Arran France (arranf)

documentation

README

ssh-me-in

ssh-me-in is a command line utility to add rules to one or more AWS EC2 security groups which allow you to SSH in. This can be useful for remote workers with a dynamic IP address who regularly need to SSH into EC2 instances.

Configuration

This section covers primarily non-command line configuration, for a list of all command line configuration please use ssh-me-in --help.

By default ssh-me-in will use authenticate using AWS CLI credentials and the region specified in theAWS_DEFAULT_REGION or AWS_REGION environment variable if set. If the region is not specified in one of those environment variables it will fall back to the region in your config. Additionally, the region can be specified (overriding all other sources of config) via the command line --region argument.

To specify the security groups to add your IP address to you must provide a file with a security group id on each line. The default location this file is expected to be at is $HOME/.ssh-me-in, but an alternative config location can be specified using the --config option.

Example config file

sg-d9e3fgad
sg-b02184cc
Commit count: 18

cargo fmt