Removing SSH key machine configs does not prevent login with private key

Solution Unverified - Updated -

Issue

  • I need to disable SSH access to an OCP4 cluster installed with SSH private keys configured.
  • When I delete 99-worker-ssh and 99-master-ssh machineconfigs, SSH is still possible for core user.

Environment

  • OpenShift Container Platform
    • 4.5

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