0

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?

Nish
  • 922
  • 13
  • 31
  • Are you referring to this documentation? https://cloud.ibm.com/docs/openshift?topic=openshift-cs_troubleshoot_clusters#cs_ssh_worker It says how to tackle it – data_henrik Oct 15 '20 at 05:39

2 Answers2

6

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.

Daein Park
  • 4,393
  • 2
  • 12
  • 21
2

SSH access to worker nodes in OpenShift is disabled for security reasons. The documentation suggests to use DaemonSets for actions to be performed on worker nodes.

data_henrik
  • 16,724
  • 2
  • 28
  • 49