PowerShell / PowerShell/Win32-OpenSSH

Port forwarding / tunnelling with -fN doesn't go into the background

Open
#999 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0 - Backlog Issue-Discussion-Deprecated/use GitHub discussions
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

"OpenSSH for Windows" version
0.0.24.0

Client OperatingSystem
Windows 10 Pro 1703

What is failing
ssh -fN -L2222:somehost:22 someotherhost should go into the background while the tunnel remains open

The tunnel works, but the command ties up the terminal - it doesn't go into the background

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with ssh -fN -L2222:somehost:22 someotherhost on Windows 10 and trace the -fN handling and local port-forwarding entry points. Confirm that the tunnel remains open while the initiating command releases the terminal, then verify the behavior with the same command.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.