---
title: "ezgh compute ssh-keys update"
description: "Rename an SSH key or replace its tags."
---

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

# ezgh compute ssh-keys update

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute ssh-keys update <ssh-key> [--name n] [--tag k=v…] [flags]
```

Change an SSH key's name or tags: `--tag` replaces them all (`--tag` "" clears them). The key itself is fixed.

Part of [`ezgh compute ssh-keys`](/cli/reference/compute-ssh-keys).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--name` | string |  | the new name |
| `--tag` | string, repeatable |  | a tag, key=value (repeat; replaces the tags; `--tag` "" clears them) |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/compute-ssh-keys-update/index.mdx
