Skip to content

fix proxy jump behavior#307

Open
vadvolo wants to merge 1 commit into
annetutil:mainfrom
vadvolo:fix-proxy-jump
Open

fix proxy jump behavior#307
vadvolo wants to merge 1 commit into
annetutil:mainfrom
vadvolo:fix-proxy-jump

Conversation

@vadvolo

@vadvolo vadvolo commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Fix the issue #306

@vadvolo

vadvolo commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

@Tishka17 could you please review these PR for me, please?

Comment thread pkg/server/devuath.go
realHost := ssh_config.Get(host, "Hostname")
if len(realHost) > 0 {
connectHost = realHost
ip = netip.Addr{}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line was needed to ensure we conntect to Hostname from config, not IP recieved from client. I see that cfg.ip is never used, does this case work correctly?

@vadvolo vadvolo Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I seems I need to use cfg.ip instead of ip it in line 67

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