> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gcore.com/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/-tGG7PWTFMtYIhJ9/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=-tGG7PWTFMtYIhJ9&q=85&s=bbe802dc79de6f3ee03b15717ae812a3" 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/-tGG7PWTFMtYIhJ9/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=-tGG7PWTFMtYIhJ9&q=85&s=122f0ac06de929c727db76b696c747a0" 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/-tGG7PWTFMtYIhJ9/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=-tGG7PWTFMtYIhJ9&q=85&s=6225bb579c5eba1f9dcc64865efc67fc" 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]"
```
