ghost icon indicating copy to clipboard operation
ghost copied to clipboard

Allow to ssh to an arbitrary instance

Open nir0s opened this issue 7 years ago • 0 comments

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 avatar Dec 03 '17 18:12 nir0s