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

Support overriding the jump host to an empty one (none) #653

Open
bryant1410 opened this issue Aug 14, 2024 · 1 comment
Open

Support overriding the jump host to an empty one (none) #653

bryant1410 opened this issue Aug 14, 2024 · 1 comment

Comments

@bryant1410
Copy link
Contributor

I have a situation in which I'd like to ignore the jump host configuration set in my SSH config when using the ET client, but not when using the SSH client. I don't find a way of doing this. --jumphost= (empty) doesn't seem to work. I also checked the code and it makes sense that an empty one doesn't work:

if (sshConfigOptions.ProxyJump && jumphost.length() == 0) {

By looking at the code, I couldn't find a way to do this. It'd be nice to distinguish between not passing this option at all and setting it to empty. As a reference point, the SSH config syntax sometimes allows setting None to certain configs. E.g., see https://stackoverflow.com/a/62015832/1165181

@MisterTea
Copy link
Owner

The code to look for "none" should be pretty straightforward. Please submit a PR, thanks!

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

No branches or pull requests

2 participants