Add MOSH support like in fluent terminal #13709

Closed
opened 2026-01-31 03:49:59 +00:00 by claunia · 8 comments
Owner

Originally created by @Luk164 on GitHub (May 2, 2021).

Description of the new feature/enhancement

Simmilar to fluent terminal, support for MOSH (https://mosh.org/) could be useful to some. For example in case of a connection loss it is able to reconnect, which is quite useful for when your connection is spotty. This is already implemented in fluent terminal (https://github.com/felixse/FluentTerminal)

Originally created by @Luk164 on GitHub (May 2, 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! --> # Description of the new feature/enhancement Simmilar to fluent terminal, support for MOSH (https://mosh.org/) could be useful to some. For example in case of a connection loss it is able to reconnect, which is quite useful for when your connection is spotty. This is already implemented in fluent terminal (https://github.com/felixse/FluentTerminal)
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 03:50:00 +00:00
Author
Owner

@KalleOlaviNiemitalo commented on GitHub (May 3, 2021):

MOSH and Fluent Terminal are licensed with GNU GPL so I don't think Microsoft is going to copy anything from these existing implementations to Windows Terminal. The MOSH source repository mentions a GPL-specific patent license for OCB encryption so reimplementing the protocol might require paying the patent holder. I think the most feasible way to enable MOSH in Windows Terminal is if somebody ports the MOSH code to Windows and it then runs as a separate process without Windows Terminal explicitly supporting it.

@KalleOlaviNiemitalo commented on GitHub (May 3, 2021): MOSH and Fluent Terminal are licensed with GNU GPL so I don't think Microsoft is going to copy anything from these existing implementations to Windows Terminal. The MOSH source repository mentions a GPL-specific patent license for OCB encryption so reimplementing the protocol might require paying the patent holder. I think the most feasible way to enable MOSH in Windows Terminal is if somebody ports the MOSH code to Windows and it then runs as a separate process without Windows Terminal explicitly supporting it.
Author
Owner

@zadjii-msft commented on GitHub (May 3, 2021):

Also, mosh is just a shell, so I don't see why we'd need to build it directly into the Terminal. I bet you could get it working perfectly fine with WSL.

@zadjii-msft commented on GitHub (May 3, 2021): Also, `mosh` is just a shell, so I don't see why we'd need to build it directly into the Terminal. I bet you could get it working perfectly fine with WSL.
Author
Owner

@DHowett commented on GitHub (May 3, 2021):

@zadjii-msft in this case MOSH is actually another terminal emulator like tmux/screen. It should work fine through WSL 😄

@DHowett commented on GitHub (May 3, 2021): @zadjii-msft in this case MOSH is actually _another terminal emulator_ like tmux/screen. It should work fine through WSL :smile:
Author
Owner

@aress31 commented on GitHub (Jul 23, 2021):

+1

@aress31 commented on GitHub (Jul 23, 2021): +1
Author
Owner

@zadjii-msft commented on GitHub (Jul 23, 2021):

@aress31 If you'd like to "+1" this feature, the best way to do that is by hitting the 👍 button on this issue

image

That way, you avoid unnecessarily pinging everyone following this thread. Thanks!

@zadjii-msft commented on GitHub (Jul 23, 2021): @aress31 If you'd like to "+1" this feature, the best way to do that is by hitting the 👍 button on this issue ![image](https://user-images.githubusercontent.com/18356694/96140789-ef3c8880-0ec5-11eb-82e0-30ce4977b9a7.png) That way, you avoid unnecessarily pinging everyone following this thread. Thanks!
Author
Owner

@altano commented on GitHub (Feb 5, 2022):

I’m sad this got closed. Recommending WSL just to get persistent ssh connections seems like a bit of a heavy hammer. For example, WSL doesn’t by default even share your ssh keys and config so you have to keep the two in sync (https://devblogs.microsoft.com/commandline/sharing-ssh-keys-between-windows-and-wsl-2/).

Is Windows Terminal not going to add things that you can get by using WSL in general or just this case?

@altano commented on GitHub (Feb 5, 2022): I’m sad this got closed. Recommending WSL just to get persistent ssh connections seems like a bit of a heavy hammer. For example, WSL doesn’t by default even share your ssh keys and config so you have to keep the two in sync (https://devblogs.microsoft.com/commandline/sharing-ssh-keys-between-windows-and-wsl-2/). Is Windows Terminal not going to add things that you can get by using WSL in general or just this case?
Author
Owner

@zadjii-msft commented on GitHub (Feb 6, 2022):

I don't believe there's anything for us to do here. The Terminal is perfectly capable of running mosh. It's not something that needs to be built-in to the Terminal at all. Unless I'm misunderstanding things. It doesn't look like there's a native mosh.exe available for Windows, that's something you should ask the maintainer of mosh to support. The terminal emulation should be more than sufficient by now ☺️

@zadjii-msft commented on GitHub (Feb 6, 2022): I don't believe there's anything for us to do here. The Terminal is perfectly capable of running mosh. It's not something that needs to be built-in to the Terminal at all. Unless I'm misunderstanding things. It doesn't look like there's a native `mosh.exe` available for Windows, that's something you should ask the maintainer of mosh to support. The terminal emulation should be more than sufficient by now ☺️
Author
Owner

@Tamnac commented on GitHub (Dec 21, 2025):

Asking for WSL just to run mosh is absurd. I push to re open this issue

@Tamnac commented on GitHub (Dec 21, 2025): Asking for WSL just to run mosh is absurd. I push to re open this issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13709