Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--jumphost/ProxyJump does not work with names from ssh_config Host declarations #559

Open
rcp opened this issue Jan 11, 2023 · 2 comments
Open

Comments

@rcp
Copy link

rcp commented Jan 11, 2023

Command line

Given an .ssh/config file containing the following:

Host proxy
  Hostname long-hostname-proxy

Host dest
  Hostname long-hostname-dest

It is not possible to connect to host dest using the following command line:

et dest --jumphost proxy

as it results in a failure with error message:

Could not reach the ET server: proxy:2022

Instead we must use the command line:

et dest --jumphost long-hostname-proxy

Config file

This issue also applies to a ProxyJump proxy entry in .ssh/config:

Host proxy
  Hostname long-hostname-proxy

Host dest
  ProxyJump proxy
  Hostname long-hostname-dest

In order for et to work, the entry must instead be ProxyJump ong-hostname-proxy. This differs from ssh (OpenSSH_8.0p1) which is able to interpret ProxyJump proxy successfully.

Seen with client and server version: et version 6.1.8

@sachit-menon
Copy link

I have a server that I ssh into via a proxyjump through another server which has its own proxyjump. These are specified in the config so usually things resolve fine, but I can't use eternal terminal because of this issue. Is there any workaround?

@insomniacslk
Copy link

any updates on this one? This would be a very convenient feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants