Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Allow to ssh to an arbitrary instance #141

@nir0s

Description

@nir0s

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.

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