> ## Documentation Index
> Fetch the complete documentation index at: https://docs.preprod.world/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect to your nodes via SSH

To connect to a Kubernetes worker node over SSH, first attach a floating IP address to the node, then connect using the SSH key configured for the cluster.

## Assign a floating IP address

1\. In the [Gcore Customer Portal](https://portal.gcore.com), navigate to **Cloud** > **Managed Kubernetes**, then click the cluster name.

<Frame>
  <img src="https://mintcdn.com/gcore-docs/JajCjFPmeyzenca5/images/docs/cloud/kubernetes/clusters/connect/connect-to-your-nodes-via-ssh-using-a-floating-ip-address/ssh-clusters-list.png?fit=max&auto=format&n=JajCjFPmeyzenca5&q=85&s=ed08958baef0f4c6b252afd51d14fca5" alt="Managed Kubernetes clusters list with cluster names, Kubernetes versions, and status" width="1400" height="291" data-path="images/docs/cloud/kubernetes/clusters/connect/connect-to-your-nodes-via-ssh-using-a-floating-ip-address/ssh-clusters-list.png" />
</Frame>

2\. In the **Pools** section, expand the pool, find the target node, and click **Attach IP** in the **Floating IP** row.

<Frame>
  <img src="https://mintcdn.com/gcore-docs/JajCjFPmeyzenca5/images/docs/cloud/kubernetes/clusters/connect/connect-to-your-nodes-via-ssh-using-a-floating-ip-address/ssh-pools-attach-ip.png?fit=max&auto=format&n=JajCjFPmeyzenca5&q=85&s=3f348769382c30489d4b294c0f61c673" alt="Cluster overview with pool expanded, showing a node row with the Attach IP link in the Floating IP field" width="886" height="448" data-path="images/docs/cloud/kubernetes/clusters/connect/connect-to-your-nodes-via-ssh-using-a-floating-ip-address/ssh-pools-attach-ip.png" />
</Frame>

3\. On the **Floating IPs** page, choose one of the following options:

### Create a new floating IP

Enable the **Attach to existing instance** toggle, select **Virtual machine** as the instance type, select the node and the interface, then click **Create a new floating IP**.

<Info>
  Floating IPs are not recommended for high-traffic workloads. Sustained traffic may impact network stability.
</Info>

<Frame>
  <img src="https://mintcdn.com/gcore-docs/JajCjFPmeyzenca5/images/docs/cloud/kubernetes/clusters/connect/connect-to-your-nodes-via-ssh-using-a-floating-ip-address/ssh-floating-ip-create-new.png?fit=max&auto=format&n=JajCjFPmeyzenca5&q=85&s=9338b97fb2666e1a364bb015facdfa85" alt="Floating IPs page with Attach to existing instance enabled, showing Instance type, Select instance, and Select interface fields" width="894" height="258" data-path="images/docs/cloud/kubernetes/clusters/connect/connect-to-your-nodes-via-ssh-using-a-floating-ip-address/ssh-floating-ip-create-new.png" />
</Frame>

### Attach an existing floating IP

Find the address in the list below the form and click **Attach to instance**, then select the node and the interface.

The floating IP is now attached to the node.

Once the node has a reachable public address, connect to it over SSH.

## Connect to a node via SSH

Run the following command, replacing `[floating IP address]` with the node's floating IP and `[path to the private SSH key]` with the path to the private key:

```sh theme={null}
ssh ubuntu@[floating IP address] -i "[path to the private SSH key]"
```
