# clear ssh client-keys

## Syntax

```
clear ssh client-keys [admin|user]
```

## Syntax Description

<table><thead><tr><th width="203">Keyword</th><th>Description</th></tr></thead><tbody><tr><td><code>admin</code></td><td>Regenerate keys for the admin user</td></tr><tr><td><code>user</code></td><td>Regenerate keys for the read-only user.</td></tr></tbody></table>

## Defaults

If neither `admin`nor `user`is specified, the keys for both users are regenerated.

## Usage Guidelines

This command is used to delete and regenerate the local SSH client keys.

SSH client keys can be used for public key authentication with the ssh command as well as commands that use the scp protocol (e.g., `write net scp://…`).

## Examples

```
clear ssh client-keys admin
```

## Related Commands

{% content-ref url="/pages/8ZQye6bSxxD8xVzkzbOL" %}
[show ssh-client-keys](/island-router-cli-2.3.2/commands/show-ssh-client-keys.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.islandrouter.com/island-router-cli-2.3.2/commands/clear-ssh-client-keys.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
