question

AzureZhang-5834 avatar image
0 Votes"
AzureZhang-5834 asked RichMatheisen-8856 answered

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

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-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AzureZhang-5834 avatar image
0 Votes"
AzureZhang-5834 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered

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).

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.