---
title: "ezgh fleets nodes reset"
description: "Reset a node, so its agent must register again."
---

> 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 fleets nodes reset

{/* 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 fleets nodes reset <node> [--yes] [flags]
```

Reset a node: its key is dropped and its sessions end, and the agent must register again (as a principal allowed to) before it's back online. A node on an EZGH instance binds again to the same node, keeping its ID and tags; on any other machine the agent registers as a new node, with a new ID and no tags, and the reset one stays awaiting registration until you deregister it. Use it when a machine was rebuilt or its key may have leaked. It asks first on a terminal; `--yes` confirms otherwise.

Part of [`ezgh fleets nodes`](/cli/reference/fleets-nodes).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-y`, `--yes` | boolean |  | don't ask for confirmation |

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

Source: https://docs.ezghcloud.com/cli/reference/fleets-nodes-reset/index.mdx
