pghalliday / tls-tunnel

MIT License
29 stars 11 forks source link

ssh connections get corrupted #1

Closed gflarity closed 11 years ago

gflarity commented 11 years ago

Hi,

Looks very promising but I tried using this with SSH and it doesn't work. If you run ssh with the -v option you'll see that it either stalls completely or something get's corrupted. I suspect the some bytes are getting lost.

I should add that I'm using the version from npm.

Cheers, GF

pghalliday commented 11 years ago

I think this will be because some of the packets get merged or broken up in a way that SSH doesn't like. It might be addressed in https://github.com/pghalliday/single-tls-tunnel. At some point I mean to update tls-tunnel to use single-tls-tunnel internally but if you only have a simple use case then you may want to try using it directly (no guarantees, i haven't tried it with SSH - works with TLS though)

pghalliday commented 11 years ago

version 1.0.0 now depends on single-tls-tunnel so hopefully this issue is fixed - now figuring out how to create an automated test for it

pghalliday commented 11 years ago

an automated test is still escaping me but i just verified that i can connect using SSH with 1.0.0

pghalliday commented 11 years ago

Added a manual test

gflarity commented 11 years ago

Thanks!