easyssh
easyssh copied to clipboard
SSH-related aliases done right
Log in to each target, run `hostname`, and update `Target.Host` accordingly. Depends on the first task in #11
Maybe I need the private IP, and/or the private DNS name.
The goal is something like ``` lisp (knife (host "automatic.cloud_v2.public_hostname" "automatic.fqdn") (ip "automatic.cloud_v2.public_ipv4" "automatic.cloud_v2.public_ipv6" "automatic.ipaddress")) ``` which would - Set `Target.Host` to the first set, non-empty value of `automatic.cloud_v2.public_hostname`, and...
One special (hard-coded) discoverer should turn the target definition string into `Target`s. All the rest of the current discoverers can then be expressed as filters, leading to more expressive power.