PowerShell / Win32-OpenSSH

Win32 port of OpenSSH
7.2k stars 739 forks source link

SSH Client starts the Port forwarding but doesn't go into the background. #2209

Open sashanke opened 4 months ago

sashanke commented 4 months ago

Prerequisites

Steps to reproduce

ssh -fN -L 7005:remotehost:3389 jumphost

Expected behavior

SSH Client starts to Port forward, vanishes into the background and keeps the tunnel open.

Actual behavior

SSH Client keeps in foreground after Port forwarding.

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.1
PSEdition                      Core
GitCommitId                    7.4.1
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

Visuals

No response