How to connect to a Openshift Virtualization VM by SSH with the `virtctl ssh` command

Solution Verified - Updated -

Issue

  • We want to connect by SSH to a Openshift Virtualization VM that is in the pod network.
  • We want to avoid creating a service.

Environment

  • Openshift Virtualization 4.11.x

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