jkuri/bore

ssh: handshake failed: EOF

dustyroberts opened this issue · 0 comments

The server is created successfully using

BORE_DOMAIN=my.domain BORE_HTTPADDR=0.0.0.0:5000 BORE_SSHADDR=0.0.0.0:2200 ./bore-server_linux_amd64

the output seems like its working:
2022-10-20T12:38:13.883Z INFO starting HTTP server on 0.0.0.0:5000
2022-10-20T12:38:13.884Z INFO starting SSH server on 0.0.0.0:2200

when adding a http tunnel on port 5000 from the client using: .\bore_windows_amd64.exe -s my.domain -p 5000 -ls localhost -lp 29108

I get a response saying ssh: handshake failed: EOF

What is weird is, i am not trying to create an ssh tunnel, i am trying to create an http tunnel. looking at the source code this seems to come from the ssh logic.

is there a flag that i need to pass for http tunnel?

note, if i create a tunnel on the ssh port, then it creates the tunnel, but http is not working as expected