Fix up SSHConnectionInfo ssh PATH checks by jborean93 · Pull Request #25780 · PowerShell/PowerShell

@jborean93

Fix the logic for finding the ssh executable in the PATH when running in
a context without an active Runspace. For example running it in an SDK
hosted PowerShell instance will not have an active Runspace when
creating the ssh process so cannot use the PowerShell command lookup
class.

daxian-dbw

@daxian-dbw daxian-dbw added the CL-Engine

Indicates that a PR should be marked as an engine change in the Change Log

label

Jul 28, 2025

iSazonov

daxian-dbw

…ceConnectionInfo.cs

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>

@jborean93

daxian-dbw

Amro1984 pushed a commit to Amro1984/PowerShell that referenced this pull request

Aug 12, 2025

Amro1984 pushed a commit to Amro1984/PowerShell that referenced this pull request

Aug 12, 2025

Nova-Logic pushed a commit to Nova-Logic/PowerShell that referenced this pull request

Sep 17, 2025

pwshBot pushed a commit to pwshBot/PowerShell that referenced this pull request

Oct 9, 2025

pwshBot pushed a commit to pwshBot/PowerShell that referenced this pull request

Oct 9, 2025

SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request

Dec 12, 2025