Why Windows 2022 node fails to add as a worker node with the following logs in ssh logs "debug3: mm_answer_keyallowed: publickey authentication test: RSA key is not allowed" ?

Solution Verified - Updated -

Issue

  • Why Windows 2022 node fails to add as a worker node with the following logs in ssh logs "debug3: mm_answer_keyallowed: publickey authentication test: RSA key is not allowed" ?
    From the windows ssh daemon logs
4780 2025-04-23 01:53:23.831 debug3: mm_answer_keyallowed: publickey authentication test: RSA key is not allowed
4780 2025-04-23 01:53:23.831 Failed publickey for Administrator from 192.168.123.100 port 50694 ssh2: RSA SHA256:XXXX/XXX

Environment

  • Red Hat OpenShift Container Platform 4.16
  • Windows Machine config Operator: 10.16.0
  • SSH RSA(SHA-2) based keys generated on Red Hat Enterprise Linux nodes.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content