-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.The issue is fixed.WG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer
Milestone
Description
You should be able to use PowerShell IPC (Enter-PSHostProcess) from within an SSH remote session just as you now can from within a WinRM remote session.
Steps to reproduce
Enter-PSSession -HostName computerName -UserName userName
[computerName]: PS C:\> Get-PSHostProcessInfo
ProcessName ProcessId AppDomainName
----------- --------- -------------
powershell 17324 DefaultAppDomain
powershell 12260 DefaultAppDomain
powershell 22696 DefaultAppDomain
wsmprovhost 16644 DefaultAppDomain
[computerName]: PS C:\> Enter-PSHostProcess 22696
Specified method is not supported.
+ CategoryInfo : InvalidOperation: (Microsoft.Power...tProcessCommand:EnterPSHostProcessCommand) [Enter-PSHostProcess], PSNotSupportedException
+ FullyQualifiedErrorId : EnterPSHostProcessCannotPushRunspace,Microsoft.PowerShell.Commands.EnterPSHostProcessCommandExpected behavior
Connecting to a local process from within an SSH remote session should succeed.
Actual behavior
Not supported error.
Environment data
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
CLRVersion
GitCommitId v6.0.0-alpha.10-52-g6a618a3ad8bce9fdf6ae8ef78747538696d0d9e5-dirty
PSEdition Core
SerializationVersion 1.1.0.1
BuildVersion 3.0.0.0
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSVersion 6.0.0-alphatgeorgiev
Metadata
Metadata
Assignees
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.The issue is fixed.WG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer