charmbracelet / wishlist

The SSH directory ✨
MIT License
1.04k stars 23 forks source link

proxyjump not taking host configuration into account #260

Open caarlos0 opened 5 months ago

caarlos0 commented 5 months ago
          If the Host referenced by a `ProxyJump` is just an ssh config host name (not a real host name), wishlist still fails with `lookup HOST: no such host`.  Why does it need to look up the host?

Originally posted by @curio77 in https://github.com/charmbracelet/wishlist/issues/146#issuecomment-1897973965

we need to lookup in the configuration files to see if the proxyjump host is defined in the config.