hierynomus / hierynomus/sshj

Connection via HTTP Proxy results in different port for host key verification

Open
#991 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

When using a HTTP Proxy the method [KeyExchanger#verifyHost ](https://github.com/hierynomus/sshj/blob/7f8f43c8ae01a91466182a56f176df7d0980462d/src/main/java/net/schmizz/sshj/transport/KeyExchanger.java#L233) uses the port of the Proxy and thus the host checked in the known hosts is [IP]:PORT instead of IP when using the default ssh port.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.