Skip to content

Keep long-running WSL processes alive after SSH disconnect #1464

@sskeirik

Description

@sskeirik

"OpenSSH for Windows" version
7.7.2.2

Server OperatingSystem
Win 10 Pro

Client OperatingSystem
Win 10 Pro

What is failing
I connect to server and am dropped into CMD shell.
I run wsl.
Inside WSL, I run tmux.
I start a long-running process inside the tmux session.
I exit tmux.
I disconnect from the SSH session.
When I reconnect, the tmux process and all of its children are gone.

Expected output
The tmux process and its children should stay alive regardless if I am connected to server by SSH session.

Actual output
The tmux process dies sometime after disconnecting from the SSH session.

Related Issues (but these issues do not mention WSL processes):
#1418 #1032

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions