How to use powershell on a redhat FIPS compliant servers to remote management windows servers

Azure Zhang 96 Reputation points
2021-04-26T20:56:24.06+00:00

May we know how to use powershell on a redhat FIPS compliant servers?

We installed the following

Red Hat Enterprise Linux Server release 7.9 (Maipo)

Apr 26 09:26:15 Installed: powershell-7.1.0-1.rhel.7.x86_64
Apr 26 09:51:31 Installed: gssntlmssp-0.7.0-1.el7.x86_64
openssl-libs-1.0.2k-21.el7_9.x86_64
libcurl-openssl-7.73.0-3.1.x86_64
openssl-1.0.2k-21.el7_9.x86_64
xmlsec1-openssl-1.2.20-7.el7_4.x86_64

Error PYTHON: Hashtype md4 not supported
File "/usr/lib64/python3.6/hashlib.py", line 178, in __hash_new
name, data, usedforsecurity=usedforsecurity)
ValueError: unsupported hash type md4

Error: Powershell GSS-ntlm failure
Enter-PSSession: Connecting to remote server xxx.xxx.xxx.xxxx failed with the following error message : Authorization failed Unspecified GSS failure. Minor code may provide more information Server not found in Kerberos database For more information, see the about_Remote_Troubleshooting Help topic.

Thanks,

Windows for business Windows Server User experience PowerShell
0 comments No comments
{count} votes

Accepted answer
  1. Azure Zhang 96 Reputation points
    2021-07-23T19:32:59.857+00:00

    We disabled FIPS on Linux to let the remote powershell through.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Rich Matheisen 47,901 Reputation points
    2021-07-23T20:03:11.783+00:00

    Your Linux machine isn't a Windows AD Domain member, so using Kerberos won't work. However, PowerShell 7 (which is what you're running on Linux) can use SSH instead -- IF you also have PowerShell 7 installed on the Windows machine (preferably Windows 10 or Server 2019).

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.