This script powershell work well until Centos 7
$session = New-PSSession -ComputerName $computerName -Credential $credential -Authentication Negotiate
where gssntlmssp was installed…
Now I need to move this machine to RHEL9 and the same powershell script give me this error
New-PSSession: [X.X.X.X] Connecting to remote server 192.168.1.51 failed with the following error message : acquiring creds with username only failed No credentials were supplied, or the credentials were unavailable or inaccessible SPNEGO cannot find mechanisms to negotiate For more information, see the about_Remote_Troubleshooting Help topic
How can I solve? the package gssntlmssp is removed from RHEL9.
Thank a lot!