SSH to Red Hat CRC VM

Published by Tobias Hofmann on

1 min read

Red Hat CRC is installed by running a pre-configured VM. In case the OpenShift 4 installation is not working as expected, like no images can be loaded from the internet, a deeper validation might be needed. For instance, to see if the VM can connect to the internet, you’d need to log on and run a ping or curl command. The Web UI is not giving this kind of possibility. Luckily, the CRC creators included an option to connect to inside the VM as a user via SSH.

The SSH key can be found in the .crc directory of the user that configured CRC. In my case, the user Id is tobias, therefore the location of the SSH files is:

/home/tobias/.crc/machines/crc/

Login using a password is not allowed. A SSH key is needed. The user id of the user inside the VM is named core. The complete cli command to log on is:

ssh -i /home/tobias/.crc/machines/crc/id_ecdsa core@"192.168.130.11"
Let the world know
Categories: Technology

Tobias Hofmann

Doing stuff with SAP since 1998. Open, web, UX, cloud. I am not a Basis guy, but very knowledgeable about Basis stuff, as it's the foundation of everything I do (DevOps). Performance is king, and unit tests is something I actually do. Developing HTML5 apps when HTML5 wasn't around. HCP/SCP user since 2012, NetWeaver since 2002, ABAP since 1998.

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.