Skip to content

Conversation

@drj11
Copy link
Contributor

@drj11 drj11 commented Nov 19, 2015

Now you can connect without being inside the VPC or having a bastion!

Simply set the environment variable JUMP_PUBLIC to any non-empty string. For example, JUMP_PUBLIC=yes ./jump blah blah blah

main.go Outdated
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you feel about calling it JUMP_PUBLIC=1 instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm roughly neutral.

Would be it 1 (public) versus anything else (private); or set to anything (public) versus empty/not-set (private)?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be fine with publicIP = os.Getenv("JUMP_PUBLIC") != "", or so.

pwaller added a commit that referenced this pull request Dec 17, 2015
Connect via Public IP address
@pwaller pwaller merged commit 0dfd8a3 into pwaller:master Dec 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants