openshiftibm-cloudiks

How to SSH to worker nodes of openshift cluster on IBM cloud


I have a openshift cluster on IBM cloud. I want to connect to the worker nodes using SSH via Putty but documentation says,

SSH by password is unavailable on the worker nodes.

Is there a way to connect to those?


Solution

  • If you use OpenShift v4 on IBM cloud, you may access your worker nodes using oc debug node/<target node name> instead of SSH. oc debug node command launches a temporary pod for the terminal session on the target node. You can check and run linux commands like usual SSH session through the Pod. Try it.