Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PSRP over SSH from Linux to Windows fails after password #2473

Copy link
Copy link
@MaximoTrinidad

Description

@MaximoTrinidad
Issue body actions

Steps to reproduce

Execute following line:

Enter-PSSession -HostName 10.0.0.26 -UserName Administrator

Expected behavior

To connect to Windows Server 2016 and give a PowerShell prompt,

Actual behavior

When trying to connect ti fails giving the following error:

PS /home/maxt> Enter-PSSession -HostName 10.0.0.26 -UserName Administrator
Enter-PSSession : The background process reported an error with the following
message: The SSH client session has ended with error message: ssh: connect to
host 10.0.0.26 port 22: Connection timed out.
At line:1 char:1

  • Enter-PSSession -HostName 10.0.0.26 -UserName Administrator
  • - CategoryInfo          : ResourceUnavailable: (:) [Enter-PSSession], PSRe 
      motingTransportException
    - FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemoting 
      DataStructureException,Microsoft.PowerShell.Commands.EnterPSSessionCommand
    
    

linuxtowindowserr

Environment data

Windows OS Name: Microsoft Windows 2016 GA Build 14393

Linux: Ubuntu 16.04.1 LTS Desktop

PS C:\Program Files\PowerShell\6.0.0.10> $PSVersionTable

Name Value


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

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.