When running remote Jockey commands with juju-jockey -H <hostname> ..., that hostname does not consider configured SSH hosts.
Proposed Feature
juju-jockey -H <hostname> should consider SSH configs to determine the host's IP.
Additional Context
Below is a quick example, which has been sanitized. In this example, I am only using the -H flag, which should not be an issue, so far as I understand. This problem seems to occur well before any other flags are even considered.
Problem
When running remote Jockey commands with
juju-jockey -H <hostname> ...
, thathostname
does not consider configured SSH hosts.Proposed Feature
juju-jockey -H <hostname>
should consider SSH configs to determine the host's IP.Additional Context
Below is a quick example, which has been sanitized. In this example, I am only using the
-H
flag, which should not be an issue, so far as I understand. This problem seems to occur well before any other flags are even considered.Here is a snippet of my SSH config:
When I run the below command, it fails to find this IP address. Again, this is sanitized, but I ran the real thing on my end:
Surprisingly, we're hitting a maximum recursion depth exception here.