- August 12, 2016 at 1:10 pm #50138
I am taking PSSESSION using CredSSP Authentication(Already configured CredSSP Client and Server),But getting the below Error :
$Session = New-PSSession -ComputerName "Test" -Authentication CredSSP -Credential $Cred
New-PSSession : [Test]Connecting to remote server[Test] failed with the following error message : The request is not supported.
CategoryInfo : OpenError : (System.Management....RemoteRunspace:RemoteRunspace) [New-PSSession].PSRemotingTransportException
FullyQualifiedErrorId : 50,PSSessionOpenFailed
Kindly help me to fix this!!August 12, 2016 at 1:13 pm #50140
How are these machines related? Are they in a domain together? Not in a domain? Is the destination computer's name exactly as listed in DNS and/or Active Directory?August 12, 2016 at 1:22 pm #50142
Also, what PowerShell versions are you running on the client and server?August 12, 2016 at 1:36 pm #50148
1. Both Client and Server is running on PS Version 3.0
2. Both machines are on the same domain.
3. Destination computer tried with both IP and Host name, am getting the same error.August 12, 2016 at 1:40 pm #50150
So, "Secrets of PowerShell Remoting" gets into some of these details, but...
Why not just allow the default Kerberos protocol to be used? However, note that you must connect using the target's canonical AD name, in order for the mutual authentication to function. You can't use IP address unless you take different steps, because the computer can't be "found" in AD by IP.
But CredSSP has a number of requirements; see the "Second Hop" section in https://devopscollective.gitbooks.io/secrets-of-powershell-remoting/content/manuscript/accessing-remote-computers.html. And, double check the CredSSP configuration – the target must be in "Server" mode, the origination must be in "Client" mode, and must specify the server as a trusted delegate.
You must be logged in to reply to this topic.