HomeContainersKubernetesHow to
Enable or disable SSH
Update content

How to enable or disable SSH ports on Kubernetes Kapsule cluster nodes

Reviewed on 14 November 2023Published on 02 May 2023

Kubernetes Kapsule clusters are provisioned with a default security group as standard. Clusters deployed prior to May 2023 allow inbound traffic to the nodes.

Since May 2023, each Kapsule cluster comes with a default security group implementing an inbound DROP ALL policy, effectively blocking all incoming connections by default.

To activate the preinstalled SSH server for node access within the cluster, it is necessary to manually configure a custom rule in the cluster’s security group to allow inbound traffic on TCP port 22.

Security & Identity (IAM):

You may need certain IAM permissions to carry out some actions described on this page. This means:

  • you are the Owner of the Scaleway Organization in which the actions will be carried out, or
  • you are an IAM user of the Organization, with a policy granting you the necessary permission sets
  1. Click Instances in the side menu, then click Security groups to view the security group section in your Scaleway console.
  2. Select “more” «See more Icon» adjacent to the security group you intend to configure and choose More info. The security group’s overview displays.

    Alternatively, you can also select the security group’s name. The security group’s overview displays.

  3. Access the Rules tab to view the security group rules.
  4. In the Rules section of the security group, select “edit” «Edit Icon».
  5. Configure a new custom inbound rule:
    • Rule: accept
    • Protocol: TCP
    • Port: 22 (standard SSH port)
    • IP range: Specify a CIDR IP range authorized for connection to your Instance. As an option, select All IPs to allow connections from any IP. It is recommended to restrict access to your rule to a limited IP range for maximum security.
  6. Confirm the security group configuration by clicking “validate” «Validate Icon».
See Also