Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

测试发现ServerAliveCountMax ServerAliveInterval 参数无效 #166

Open
yulinor opened this issue Jan 20, 2025 · 3 comments
Open

测试发现ServerAliveCountMax ServerAliveInterval 参数无效 #166

yulinor opened this issue Jan 20, 2025 · 3 comments

Comments

@yulinor
Copy link

yulinor commented Jan 20, 2025

部分远端服务器限制了会话保活时长,所以在tabby上我利用了高级配置设置了「保活间隔」「最大保火次数」。
为了减少内存占用,同时支持lrzsz,我切换了wezterm + 默认tssh作为客户端搭配。
但是实测发现在~/.ssh/cofing 不论是Host * 统配里添加或者 Host Server分组添加,都会很快被杀死会话。
于是手动ssh Server发现不会被快速杀死,正常保活。

所以怀疑是不是不支持这个参数配置?

@lonnywong
Copy link
Member

是有个 bug ,详见 #150

在下个版本发布前,要自己编译一个来用。

@yulinor
Copy link
Author

yulinor commented Jan 20, 2025

是有个 bug ,详见 #150

在下个版本发布前,要自己编译一个来用。

下个版本大概多久发布哦

@lonnywong
Copy link
Member

暂时没计划。不过,即使配置 ServerAliveInterval 和 ServerAliveCountMax 没生效,也是有一个固定的值,写死在代码里的,分别是 10 和 3 ,是生效的,只是不能自定义而已。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants