Why SSH Password Less Authentication rejecting with Message "refusing RSA key: Invalid key length [preauth]" ?

Solution Verified - Updated -

Issue

  • Password Less Authentication Rejected with the following Message

    refusing RSA key: Invalid key length [preauth]
    
  • Password Less Authentication Rejection After leapp upgrade

Environment

  • Red Hat Enterprise Linux 9
  • OpenSSH
  • Crypto-Policies

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