How to open port 22 (for SSH connection) on a service's page in Rancher?

Step 1

Click on «» → «Edit Config» to modify the service configuration.

Step 2

In the «Ports» section, add a new port mapping: