Skip to content

HostName fallback? #670

@milkpirate

Description

@milkpirate

Hey,

I would like to have multiple HostNames and let assh check one after another to connect to. If one in the array fails, it should try the next given name automatically. Pretty much like the Gateway fallback logic but simply with different HostNames.

hosts:
  some-server:
    HostName:
      - 192.168.191.10
      - some-server
      - some.domain.name

So assh should do something like ssh 192.168.191.10 || (ssh some-server || ssh some.domain.name) automatically. Is that possible? Or addable without too much hazzle?

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