Not responding trying to close an connected ssh tag #2925

Closed
opened 2026-01-30 23:08:55 +00:00 by claunia · 3 comments
Owner

Originally created by @LasSino on GitHub (Jul 25, 2019).

Environment

Windows build number: [版本 10.0.18362.239]
Windows Terminal version (if applicable):Windows Terminal (Preview) Version: 0.2.1831.0 (Microsoft Store build)

Any other software?
OpenSSH client: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

Steps to reproduce

1.Start an ssh session in a tab(current or new would do) with RSA certificate identification.
2.Close the tab while the ssh is still connected.

Expected behavior

The tab should be closed.

Actual behavior

The Terminal stops responding and then the typical Windows messagebox for
Annotation 2019-07-25 222312
unresponding apps will show.

Originally created by @LasSino on GitHub (Jul 25, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [版本 10.0.18362.239] Windows Terminal version (if applicable):Windows Terminal (Preview) Version: 0.2.1831.0 (Microsoft Store build) Any other software? OpenSSH client: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5 ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> 1.Start an ssh session in a tab(current or new would do) with RSA certificate identification. 2.Close the tab while the ssh is still connected. # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> The tab should be closed. # Actual behavior <!-- What's actually happening? --> The Terminal stops responding and then the typical Windows messagebox for ![Annotation 2019-07-25 222312](https://user-images.githubusercontent.com/34049745/61882333-e2cbb900-af2a-11e9-9cc3-09088a59fcd5.jpg) unresponding apps will show.
claunia added the Needs-TriageResolution-Duplicate labels 2026-01-30 23:08:55 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jul 25, 2019):

This looks like a dupe of #1445 to me

@zadjii-msft commented on GitHub (Jul 25, 2019): This looks like a dupe of #1445 to me
Author
Owner

@LasSino commented on GitHub (Jul 25, 2019):

This looks like a dupe of #1445 to me

Well, the behaviors aren't identical.
The problem you mentioned concerns closing the old tab, but in this case it's closing the current tab.
And a subtle feature in the case is that a ssh session logged in with password can be correctly closed, but a ssh session with RSA certificate will cause the problem.

Maybe they share the same defected code actually, but I'm not totally inside of this.
Anyway thanks and hope you go smooth debugging!

@LasSino commented on GitHub (Jul 25, 2019): > This looks like a dupe of #1445 to me Well, the behaviors aren't identical. The problem you mentioned concerns closing the old tab, but in this case it's closing the current tab. And a subtle feature in the case is that a ssh session **logged in with password** can be correctly closed, but a ssh session **with RSA certificate** will cause the problem. Maybe they share the same defected code actually, but I'm not totally inside of this. Anyway thanks and hope you go smooth debugging!
Author
Owner

@ghost commented on GitHub (Jul 26, 2019):

This issue has been marked as duplicate and has not had any activity for 1 day. It will be closed for housekeeping purposes.

@ghost commented on GitHub (Jul 26, 2019): This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2925