Good afternoon!
Looking at Powershell core, trying to establish a connection from windows2012 to a fedora26 vm and a redhat7 vm. Both linux vm’s have powershell core installed and I can establish connectivity between the linux vm’s from the pwsh prompt. However from windows 2012 to fedora26 vm using the following commands:
New-PSSession -HostName 192.168.233.130 -Username nlong -SSHTransport I get the following error message:
- FullyQualifiedErrorId : PSSessionOpenFailed
PS C:\Powershell_Test> New-PSSession -HostName 192.168.233.130 -Username nlong -
SSHTransport^C
PS C:\Powershell_Test> New-PSSession -HostName 192.168.233.130 -Username nlong -
SSHTransport
New-PSSession : [192.168.233.130] An error has occurred which PowerShell cannot
handle. A remote session might have ended.
At line:1 char:1 - New-PSSession -HostName 192.168.233.130 -Username nlong -SSHTransport
-
- CategoryInfo : OpenError: (System.Manageme…RemoteRunspace:RemoteRu
nspace) [New-PSSession], PSRemotingDataStructureException - FullyQualifiedErrorId : PSSessionOpenFailed
PS C:\Powershell_Test>
Have installed kitty on the windows2012 vm and can via kitty establish an ssh connection to our fedora and rhel7 vm’s.
There must be something I’m missing or not understanding. Any insights would be appreciated.
Norm