Skip to content

Connecting with SSH

You can connect to Kubernetes apps, such as Jupyter Node, through a randomized NodePort. If you are developing custom apps, you can add an SSH server to the container.

After starting an app, find the NodePort to connect to:

  1. Select the namespace in Rancher's top dropdown menu.
  2. Click on Service DiscoveryServices in the left menu.
  3. Find the row with Type NodePort and its TCP port number.

NodePort in Rancher

Connect from a terminal with

ssh -p 32722

Replace 32722 with your NodePort number.

You can also connect to the container file system via SSH with a Visual Studio Code extension.