Skip to content

Instantly share code, notes, and snippets.

@oshoval
Last active April 24, 2025 13:53
Show Gist options
  • Select an option

  • Save oshoval/0b1815ad461247ecbc6dc4853c36c822 to your computer and use it in GitHub Desktop.

Select an option

Save oshoval/0b1815ad461247ecbc6dc4853c36c822 to your computer and use it in GitHub Desktop.
Connecting remote Kcli UI from your laptop
1. Make sure you are use sslip, and have a valid pull secret.
2. Copy the kubeconfig from your remote machine to your local, export KUBECONFIG pointing to it.
3. Change kubeconfig `server` line to match your remote machine ip i.e `server: 10.1.2.3:6443` (keep original port).
4. On your local machine run the following command in the background `sshuttle -r root@your_hypervisor 192.168.122.0/24`
5. Open the console URL, i.e `console-openshift-console.apps.multi-homing.192-168-122-253.sslip.io` on your local chrome (get it via oc get routes -A).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment