Failing ssh access to nodes using RSA key after RHOCP 4 upgrade.

Solution Verified - Updated -

Issue

  • SSH to RHCOS nodes is not possible after the upgrade to RHOCP 4.13.
  • oc debug node is working but not SSH for accessing a node.
  • Accessing a node using the correct SSH key is reporting:

    $ ssh -i sshkey core@10.0.0.1
    core@10.0.0.1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
    
  • On the SSH daemon logs the following error is recorded while the the SSH attempt fails:

    userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.13
    • 4.14
  • Red Hat Enterprise Linux (RHEL)
    • 8

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