Skip to content

PowerShell exits opening runspace created with SSHConnectionInfo #4940

Closed

Description

Doesn't repro on Windows, but repros on Linux and Mac

Steps to reproduce

 $sshConnectionInfo = [System.Management.Automation.Runspaces.SSHConnectionInfo]::new(
 "UserName",
 "localhost",
 "NoValidKeyFilePath",
 22)
 $rs = [runspacefactory]::CreateRunspace($sshConnectionInfo)
 $rs.Open()

Expected behavior

error message

Actual behavior

powershell exits due to SIGKILL

Environment data

Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.7
OS                             Linux
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Activity

  1. added
    WG-Engine
    on Sep 28, 2017
  2. added this to the milestone on Sep 28, 2017
  3. changed the title [-]PowerShell crash opening runspace created with SSHConnectionInfo[/-] [+]PowerShell exits opening runspace created with SSHConnectionInfo[/+] on Sep 30, 2017
  4. PaulHigin commented on Oct 4, 2017

    @PaulHigin
    Contributor

    Fixed with #4993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Resolution-FixedWG-Engine

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions