beordle / termtunnel

Cross-platform terminal tunnel tool
MIT License
356 stars 36 forks source link

rz速度很快,但是termtunnel几乎无法使用 #45

Open penfree opened 2 years ago

penfree commented 2 years ago

rz速度可以到800kB/s, 但使用termtunnel的rz速度小于1k, 端口转发基本无法使用了。

penfree commented 2 years ago

客户端:mac os 服务端: CentOS Linux release 7.6.1810 termtunnel是最新版 终端登录有一个warning不知道是否有关系 WARNING: Terminal type 'xterm-256color' is not supported, 'xterm' will be used as default.

beordle commented 2 years ago

额,先明确下是可以使用,但是速度非常非常慢是么?

这里是直连吗?如果使用标准 sz 的话速度如何呢。termtunnel --rz 的话由于有ack,导致 termtunnel 也会依赖于下行的速度。

比如说在tmux中运行,下行速度就会收到很大影响,不过按我实测,大概10KB/s是有的。

penfree commented 2 years ago

@beordle 对,也可以认为能用,但是非常慢非常慢。用来做socks代理基本加载不了网页。

是经过堡垒机的,但是termtunnel的原理不是和rz一样吗,按道理rz快的话,termtunnel顶多慢一半呗。

ZRJ026 commented 1 year ago

我也有这个问题,rz很快,平均速度1MB左右。但是remote_listen很慢,10KB,环境:wsl ubuntu,没有使用tmux