Skip to content

PowerShell Remoting over SSH fails Windows client #2466

@doctorscripto

Description

@doctorscripto

When initiating a New-Pssession from Windows to Linux or Windows to Windows the following error occurs
New-PSSession : [eotsrv2016] An error has occurred which Windows PowerShell cannot handle. A remote session might have
ended.
At line:1 char:4

  • $s=New-PSSession -HostName eotsrv2016 -UserName administrator
  • CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
    gDataStructureException
  • FullyQualifiedErrorId : PSSessionOpenFailed
    Steps to reproduce

    Current PowerShell alpha 10 build on Ubuntu 16 and Server 2016 RTM
    OpenSSL on Linux win32_ssl on Server

Expected behavior

PSremoting session initiated after authentication completed

Actual behavior

Error thrown by PowerShell 6.0 / Alpha 10

Environment data

Name Value


PSEdition Core
PSVersion 6.0.0-alpha
WSManStackVersion 3.0
BuildVersion 3.0.0.0
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
GitCommitId v6.0.0-alpha.10
PSRemotingProtocolVersion 2.3
CLRVersion
SerializationVersion 1.1.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-FixedThe issue is fixed.WG-RemotingPSRP issues with any transport layer

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions