kingToolbox / kingToolbox/WindTerm

A crash occurred when logging into openwrt via ssh using windterm (based on Linux Kernel 6.8)

Open
#2,942 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

The OpenSSH server built into my OpenWrt (based on Linux Kernel 6.8) works normally with various SSH clients. However, when logging in with WindTerm, it crashes/closes abruptly right after entering the username—before even reaching the password prompt. The crash happens so quickly that I couldn’t see the error messages clearly. Later, by reviewing a screen recording frame by frame, I noticed two error messages:

Authentication failed. Please try again.

The remote host closed the connection.

I believe WindTerm shouldn’t crash/close unexpectedly even if the server actively terminates the connection. I hope this issue can be resolved.

My WindTerm environment is as follows:

WindTerm version: v2.7

OS: Windows 11 (64-bit) Pro, 24H2 (Build 26100.4351)

Hardware: AMD Ryzen 7 7735H with Radeon Graphics

Image
Image

----The following describes the issue in Chinese . 以下使用中文描述该问题 ---

用windterm ssh登录 openwrt时发生崩溃 (base Linux Kernel 6.8 )

我的 OpenWrt ( 基于 Linux Kenel 6.8 ) 内置的 OpenSSH server ,在使用多种 ssh 客户端登录均正常,但是在使用 WindTerm 登录时,输入账号之后,还没到输入密码的步骤就会直接闪退/崩溃。因为崩溃速度很快,看不清屏幕有哪些错误提示。后来通过录屏逐帧画面查看,看到有两条提示:
1、身份验证被拒绝,请重试
2、The remote host closed the connection .

我觉得即使 WindTerm 被服务端主动断开连接,也不应该崩溃/闪退。希望能解决这个问题。

我的 WindTerm 使用环境如下:
WindTerm 版本:v2.7
操作系统: windows 11 (64bit)专业版, 24H2 (26100.4351)
硬件环境: CPU : AMD Ryzen 7 7735H with Radeon Graphics

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the SSH login from WindTerm v2.7 on Windows 11 against the described OpenWrt OpenSSH server, then capture the crash and the remote-host-closed-connection behavior. Done means WindTerm no longer crashes when the server rejects authentication or closes the connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.