ssh3: proxy-jump error

Hello,

in the documentation I saw that the ssh ProxyJump option is implemented. I was testing this, but I get an error and could not figure out so far where the problem is.

I can connect to both hosts directyl just fine. But when I specify -proxy-jump, it does not work.

◆ ssh3 git:(main) ✗ ❯❯❯ ./ssh3 -insecure -pubkey-for-agent ~/.ssh/id_ed25519.pub -forward-agent -proxy-jump pi@192.168.2.77/ssh3 -v pi@192.168.2.215/ssh3
5:15PM DBG version francoismichel/ssh3 0.1.7
5:15PM DBG no OIDC config file specified, use default file: /Users/marco/.ssh3/oidc_config.json
5:15PM DBG /Users/marco/.ssh3/oidc_config.json does not exist
5:15PM DBG dialing QUIC host at 192.168.2.77:443
5:15PM DBG QUIC handshake complete
5:15PM DBG try ssh-agent-based auth
5:15PM DBG we only try the first specified auth method for now
5:15PM DBG try the following Identity: agent-identity
5:15PM DBG establish conversation with the server
5:15PM DBG send CONNECT request on URL https://192.168.2.77:443/ssh3?user=pi, User-Agent="SSH 3.0 francoismichel/ssh3 0.1.7 experimental_spec_version=alpha-00"
5:15PM DBG got response with 200 OK status code
5:15PM DBG server has valid version "SSH 3.0 francoismichel/ssh3 0.1.7 experimental_spec_version=alpha-00" (protocol version = 3.0_alpha-00, software version = francoismichel/ssh3 0.1.7)
5:15PM DBG start UDP forwarding from 127.0.0.1:0 to 192.168.2.215:443
5:15PM DBG started proxy jump at 127.0.0.1:53179
5:15PM DBG dialing QUIC host at 127.0.0.1:53179
5:15PM ERR could not establish client QUIC connection: timeout: no recent network activity
5:15PM ERR could not setup transport for client: %!s(<nil>)

If I capture packets on the jump host towards the destination, I do not see a single packet leaving. Am I specifying something wrong? Or is there an even higher debug level that I can enable? There is no error on the proxy server side.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Could you try the client on MacOS from that PR https://github.com/francoismichel/ssh3/pull/130 ?

It is not fixed on the MacOS server though, only the MacOS client is fixed, meaning that you can connect to your Linux hosts through a proxy jump, as soon as you don’t use a MacOS device as a jump host.