You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried both values of the remote.SSH.useLocalServer setting (more info here)
Connect Locally
It connects successfully
->
If I try to connect to the windows host from macos the ssh connection is successfull, but only one line of the script is piped to the powershell session (powershell). I installed the new powershell 7.4 on the windows machine, when I replace 'powershell' with 'pwsh' in the generated ssh command form VsCode I can manually pipe and execute the script successfully. Is there any configuration switch to tell VsCode to use 'pwsh' instead of 'powershell' in the generated ssh command?
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
setting (more info here)Connect Locally
It connects successfully
->
If I try to connect to the windows host from macos the ssh connection is successfull, but only one line of the script is piped to the powershell session (powershell). I installed the new powershell 7.4 on the windows machine, when I replace 'powershell' with 'pwsh' in the generated ssh command form VsCode I can manually pipe and execute the script successfully. Is there any configuration switch to tell VsCode to use 'pwsh' instead of 'powershell' in the generated ssh command?
VsCode
Version: 1.95.2
Commit: e8653663e8840adaf45af01eab5c627a5af81807
Date: 2024-11-07T11:07:22.054Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.6.0
Windows
Edition: Windows 10 Enterprise
Version: 22H2
Os build: 19045.5131
Windows Feature Experience Pack 1000.19060.1000.0
PS C:> get-host
Name : ConsoleHost
Version : 5.1.19041.5129
InstanceId : 2fd726eb-8ce9-44f5-9613-f5821bae4237
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : de-DE
CurrentUICulture : de-DE
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
Expected Behavior
No response
Steps To Reproduce
No response
Remote-SSH Log
Remote-SSH Log
Anything else?
No response
The text was updated successfully, but these errors were encountered: