Skip to content

Support using private ip of an instance without passing the private ip as an argument #16

@colwynmyself

Description

@colwynmyself

Right now there are two ways to SSH to the private ip of an instance rather than the public ip:

  1. Don't have a public ip
  2. Pass in the private ip of the instance with a -t <instance-id> argument attached

It would be great if we could pass in an argument like --private to mssh that would make the resulting ssh command use the private ip without having to go fetch the private ip of the instance.

I threw together a quick branch on a fork of the project that supports this, but it doesn't include any tests. master...colwynmyself:support_private_flag

If you'd like I can look into tidying that up a bit or I could even just open a PR against this project if y'all would like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions