kingToolbox / kingToolbox/WindTerm

WindTerm crashes when connecting to OpenSSH 9.4 CentOS 7 host|WindTerm 远程连接 OpenSSH9.4 CentOS 7 主机时崩溃

Open
#2,954 6 comments 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

windterm version: 2.7.0
os version: Windows 10 22H2

I'm experiencing a crash issue when using WindTerm to connect to a CentOS 7 host after upgrading to OpenSSH 9.4.
在使用WindTerm远程连接到CentOS 7主机时,更新到OpenSSH 9.4版本后出现崩溃问题。
——————————

Description:

After upgrading the OpenSSH version on the CentOS 7 host from 7.4p1 (OpenSSL 1.0.2k-fips, 26 Jan 2017) to 9.4 (OpenSSL 1.1.1w, 11 Sep 2023), password authentication results in a "connection refused" error and causes WindTerm to crash.

Steps to Reproduce:

Existing OpenSSH version on CentOS 7 host: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips (26 Jan 2017)
Compile and upgrade offline to OpenSSH_9.4, OpenSSL 1.1.1w (11 Sep 2023)
Attempt to login using WindTerm with a password, but the password has not been entered yet.

Additional Information:

Password authentication using PowerShell is working fine.

问题描述:

当CentOS 7主机上的OpenSSH版本从 7.4p1 (OpenSSL 1.0.2k-fips, 26 Jan 2017) 升级到 9.4 (OpenSSL 1.1.1w, 11 Sep 2023) 后,使用密码登录时会提示连接拒绝,并导致WindTerm闪退。

复现步骤:

CentOS 7主机原有 OpenSSH 版本:OpenSSH_7.4p1, OpenSSL 1.0.2k-fips (26 Jan 2017)
离线编译升级到 OpenSSH_9.4, OpenSSL 1.1.1w (11 Sep 2023)
使用WindTerm进行密码登录,但还没来得及输入密码。

其他信息:

使用PowerShell进行密码登录时,SSH连接是正常的。

[4286a71b-dc40-4070-bc74-2dc4dd4c8db3.dmp](https://github.com/user-attachments/files/21094781/4286a71b-dc40-4070-bc74-2dc4dd4c8db3.dmp)
[a1cb0b1e-d264-44f9-8851-e72844c9dd36.dmp](https://github.com/user-attachments/files/21094780/a1cb0b1e-d264-44f9-8851-e72844c9dd36.dmp)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the password-login failure against the specified OpenSSH 9.4 host on Windows 10, then inspect the provided crash dumps 4286a71b-dc40-4070-bc74-2dc4dd4c8db3.dmp and a1cb0b1e-d264-44f9-8851-e72844c9dd36.dmp. Compare the failing WindTerm connection with the working PowerShell connection. Done means WindTerm no longer crashes and can complete password authentication in this environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.