Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to ssh to an arbitrary instance #141

Open
nir0s opened this issue Dec 3, 2017 · 0 comments
Open

Allow to ssh to an arbitrary instance #141

nir0s opened this issue Dec 3, 2017 · 0 comments

Comments

@nir0s
Copy link
Owner

nir0s commented Dec 3, 2017

If a terraform.tfstate file contains instances, we can extract their tags and allow to connect:

ghost put -t ssh consul-server ssh_key_path=~/.ssh/mykey discover=terraform tag=Name:consul

Which will arbitrarily connect to an instance with the tag key "Name" and the tag value "consul"

The same can be done by using aws directly. We can can then add more clouds.

@nir0s nir0s changed the title Allow to ssh to an instance based on tags from a Terraform state file Allow to ssh to an arbitrary instance Dec 3, 2017
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

No branches or pull requests

1 participant