Skip to content

fix: ProxyJump connections when HostName is not set - #321

Merged
gescheit merged 1 commit into
annetutil:mainfrom
vdjdance:fix_proxyjump_connections
Jul 30, 2026
Merged

fix: ProxyJump connections when HostName is not set#321
gescheit merged 1 commit into
annetutil:mainfrom
vdjdance:fix_proxyjump_connections

Conversation

@vdjdance

Copy link
Copy Markdown
Contributor

Fix SSH connections through ProxyJump when HostName is not explicitly set in the SSH config.

In this configuration, gnetcli should:

  • use the inventory IP received in HostParams for the target device;
  • use the ProxyJump hostname as a fallback address for the jump host.

When the target had an inventory IP but no explicit HostName, cfg.params.host was empty. This resulted in a connection attempt to :22.

@gescheit
gescheit merged commit c522a2a into annetutil:main Jul 30, 2026
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants