Skip to content

Can't SSH to public IP address #4

Description

@drj11

If you can't use the Private IP address to reach the instance in question, then jump doesn't work.

I realise there are advantages to using the private network, but sometimes it's convenient to just use a Public IP address.

The implementation of this would be straightforward, but the real issue is the command line interface. Currently it's:

jump LEFT_ARGS ... -- RIGHT_ARGS ...

(with most bits being optional)

If we added a --public flag, say, then it would be:

jump --public LEFT_ARGS ... -- RIGHT_ARGS ...

I guess this is just about okay for one option that you probably don't want to pass to ssh, but when more options come along, we need to separate the options for jump from the options that are passed through to ssh.

So. We could:

  • Make jump so that it had no configuration, no options.
  • Terminate all jump options with a required flag: jump --public -z LEFT_ARGS -- RIGHT_ARGS
  • Configure jump only by environment variables: JUMP_IP=public jump ...

or something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions