---
title: Connecting the ZEC (ZEC UI)
slug: zen-master/connecting-the-zec-zec-ui
docTags: 
createdAt: 2024-12-27T15:54:35.244Z
---

For each ZEC component that has been configured in ZEN Master, you will need to configure the connection of the ZEC (using its ZEC UI) to ZEN Master. This will use the configured SSH keys to enable the actual connection.

For the initial setup of the ZEC in ZEN Master - see [Adding a New ZEC](docId\:wmL-jeWi-y7QpberrnAa4).

**To connect the ZEC Manually:**

::::WorkflowBlock
:::WorkflowBlockItem
In the ZEN Master UI, in the main navigation, click **Zixi Edge Devices**.
:::

:::WorkflowBlockItem
Select the **ZEC** that you would like to connect.
:::

:::WorkflowBlockItem
In the **Details** tab at the bottom of the screen, click on the download link for the **SSH Key**.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/xyXPqXOAt_17GKvMiPDKV_image.png" size="60" width="687" height="623" position="center" alt="Download SSH Key" showCaption="false"}
:::

:::WorkflowBlockItem
On the ZEC Details screen, click on the three dots in the upper right corner to reveal the dropdown menu, and choose Config to open the Configuration section. In the Configuration section, you will find your personal connection configuration settings for use with ZEC. You will use these settings to connect the ZEC (host, username, and remote source port), so you should write them down or keep this browser tab open while you configure the ZEC.

![Open ZEC Configuration](https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/91YaUQZcTR-wCoBbzll4k_image.png)
:::

:::WorkflowBlockItem
Login to the ZEC UI (it could be a locally installed ZEC, e.g. [http://localhost:4444](http://localhost:4444/) or a remote ZEC).
:::

:::WorkflowBlockItem
Go to **Settings > SSH Connections**.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/TGtHL43a4PYXezmg261yj_image.png" size="90" width="1018" height="658" position="center" alt="ZEC SSH Connections" showCaption="false"}
:::

:::WorkflowBlockItem
Click **Add** connections.
:::

:::WorkflowBlockItem
In the **Host** field, enter the host name that appeared in ZEN Master's Configuration section.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/brPK3SO6VDxLCSNFpy2RG_image.png" size="70" width="670" height="266" position="center" alt="Host Name" showCaption="false"}
:::

:::WorkflowBlockItem
Click Apply. The new connection is added to the list of **SSH connections** in ZEC.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/y3Ha47PwdbsWor1K1HrgI_image.png" size="90" width="811" height="505" position="center" alt="SSH Connections List" showCaption="false"}
:::

:::WorkflowBlockItem
Click **+** to expand.
:::

:::WorkflowBlockItem
Click **Edit Credentials**.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/5gRCshbR6rkx4uECpYLXO_image.png" size="90" width="1076" height="187" position="center" alt="Edit Credentials Button" showCaption="false"}
:::

:::WorkflowBlockItem
In the **User** field, enter the **username** that appeared ZEN Master's Configuration section.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/p5wmX4YO8l4kVkp2XIONl_image.png" size="80" width="813" height="352" position="center" alt="User field" showCaption="false"}
:::

:::WorkflowBlockItem
In ZEC, in the **Private Key** field, click Upload Key and select the key that you have downloaded.
:::

:::WorkflowBlockItem
Click **Apply**. The **Key** field will indicate OK.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/NplaTPpmQzaFRyrnzkO0W_image.png" size="80" width="581" height="109" position="center" alt="Key OK" showCaption="false"}
:::

:::WorkflowBlockItem
In ZEC, in click the **Add** button next to Remote Source Port.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/QAczkTYGhrh09r1O425-D_image.png" size="80" width="797" height="136" position="center" alt="Add Remote Source Port" showCaption="false"}
:::

:::WorkflowBlockItem
In the **Remote Source Port** field, enter the Remote Source Port that appeared ZEN Master's Configuration section.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/wcrx5qquNrCYBQ_jMJGAg_image.png" size="80" width="931" height="359" position="center" alt="Port Field" showCaption="false"}
:::

:::WorkflowBlockItem
In ZEC, click **OK**.
:::

:::WorkflowBlockItem
In ZEN Master, in the main navigation, click **Zixi Edge Devices** and check that the status of the newly connected ZEC has changed from Pending to OK.
:::
::::

