I am trying to set up a remote powershell session to a sharepoint server in order to do remote management. I am running as a user with full mgmt rights at the sharepoint server
If I use Credssp and enter credentials, I can connect and run sharepoint cmds
Enter-PSSession -ComputerName spserver -ConfigurationName PSv2 -Credential domain\adminuser -Authentcation Credssp
But I don't want the admin user(s) to have to enter their credentials once more when they are already authenticated at the admin server.
So I am trying to use the following connection cmd
Enter-PSSession -ComputerName spserver -Authentication Kerberos -ConfigurationName PSv2
When attempting to run powershell cmds I get the error "cannot access the local farm"
An error is logged on the sharepoint server,
SQL database login for 'SP_Config' on instance 'spserver' failed. Additional error information from SQL Server is included below.
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
So I am assuming that the credentials did not pass further that the first hop to the server.
Most of the tutorials on remoting seem to focus on Credssp, I can't find much on how to troubleshoot Kerberos for this purpose. Any pointers to good information on this?
I have found some information that seem to indicate that Powershell remoting does not support multiple hops using Kerberos! I'd be happy if anyone could confirm this
"Windows PowerShell remoting does not support Kerberos delegation. You have to use CredSSP to delegate the user account (...)"