-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
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
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
