--- title: "Rekey devices" slug: "rekey-devices-1" tags: ["ESM"] updated: 2026-09-12T21:25:04Z published: 2026-09-12T21:25:04Z canonical: "docs.trellix.com/rekey-devices-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Rekey devices Re-establish secure communication after upgrading devices. 1. Rekey each device. 1. On the **Device Properties** page, select the **Connections** tab. 2. Change the **TCP Target Port** to port 22. 3. Click the **Key Management** tab. 4. Click **Key Device**. 5. Type the current password or add new passwords. 6. Click **Next**. 7. Click **Export Key** on the **Key Device** wizard. 2. Rewrite any device settings, such as data sources, database servers, or VIPs, to the device to make sure that the correct settings are applied. 3. Roll out policy to all upgraded devices. :