charmbracelet / wishlist

The SSH directory ✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support ProxyJump and ProxyCommand options

dontmint opened this issue · comments

Wishlist currently not able to use ProxyJump and ProxyCommand in ssh_config file, It's very nice to have this feature

just encountered the same issue. can't access a host via bastion with wishlist without ProxyJump at ~/.ssh/config being recognized

ProxyJump implemented in #203.

ProxyCommand I'm not sure it makes sense to implement, as we don't use the ssh binary...

I use cloudflared to access my hosts and for that to work I need to initiate the connection using ProxyCommand.
ProxyCommand /usr/bin/cloudflared access ssh --hostname %h

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?

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?

we don't use the ssh binary from the system, instead, we use the ssh client library for Go, which will open the connection. To open the connection, it needs to resolve the host.

regarding not using the ssh configured host, that is likely a bug in itself.