Terminating SSH connection when visiting the tunneled website #12152

Closed
opened 2026-01-31 03:07:33 +00:00 by claunia · 1 comment
Owner

Originally created by @glitchcodes on GitHub (Jan 23, 2021).

Environment

Windows build number: 10.0.19042.0
Windows Terminal version (if applicable): 1.14.3243.0

Steps to reproduce

I only encountered this when working on Laravel Artisan PHP Server. Not sure on other built-in servers.

  1. Run php artisan serve
  2. On another tab, open a ssh connection to localhost.run eg: ssh -R 80:localhost:8000 localhost.run
  3. localhost.run will give a domain to view the website
  4. Terminal will terminate the connection when you visited the website.

Expected behavior

Terminal should not terminate the connection

Actual behavior

Compared with Git Bash (working)
image

Terminal
image

Originally created by @glitchcodes on GitHub (Jan 23, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: 10.0.19042.0 Windows Terminal version (if applicable): 1.14.3243.0 ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> I only encountered this when working on Laravel Artisan PHP Server. Not sure on other built-in servers. 1. Run `php artisan serve` 2. On another tab, open a ssh connection to localhost.run `eg: ssh -R 80:localhost:8000 localhost.run` 3. localhost.run will give a domain to view the website 4. Terminal will terminate the connection when you visited the website. # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> Terminal should not terminate the connection # Actual behavior <!-- What's actually happening? --> Compared with Git Bash (working) ![image](https://user-images.githubusercontent.com/56838797/105566532-ab300e00-5d67-11eb-8ab8-83c8f783ea4b.png) Terminal ![image](https://user-images.githubusercontent.com/56838797/105566445-41176900-5d67-11eb-9091-00a112aa77b1.png)
claunia added the Needs-TriageResolution-ExternalNeeds-Tag-Fix labels 2026-01-31 03:07:33 +00:00
Author
Owner

@DHowett commented on GitHub (Jan 23, 2021):

This looks like either an issue with the remote service or the windows port of openssh, which you are using through terminal. It would be worth filing this bug at https://github.com/powershell/win32-openssh.

@DHowett commented on GitHub (Jan 23, 2021): This looks like either an issue with the remote service or the windows port of openssh, which you are using _through_ terminal. It would be worth filing this bug at https://github.com/powershell/win32-openssh.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12152