stuicey / SSHy

HTML5 SSH Web Client
MIT License
547 stars 83 forks source link

WebSocket connection failed: Error in connection establishment: code 1005 #50

Open adri6412 opened 2 years ago

adri6412 commented 2 years ago

Hello, when i try to connect to one of my hosts with SSHy trough wsproxy i get the error "WebSocket connection failed: Error in connection establishment: code 1005 On the ssh client side in /var/log/secure i have this Mar 31 00:17:07 nswitchwifi sshd[11770]: Bad protocol version identification 'U1NILTIuMC1TU0h5Q2xpZW50DQo=AAABVAsUTjy4eGErxwpOjzhshDCylgAAALlkaWZmaWUtaGVsbG1hbi1ncm91cC1leGNoYW5n' from 10.0.1.28 port 46738

The string is the base64 version for this : SSH-2.0-SSHyClient ���U"5WIT6.Re���.YYYKZ[X[Yܛ\ Y^[

What am i doing wrong?

awwithro commented 1 year ago

I'm hitting the same thing. As near as I can tell, the handshake is getting base64 encoded enroute to the server when it shouldn't be

gordyvision commented 1 year ago

I'm getting the same thing as well. Any workaround for this?

lukuichina commented 2 months ago

I am hitting he same thing ->WebSocket connection failed: Error in connection establishment: code 1005