# 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="show-ssh-client-keys" %}
[show-ssh-client-keys](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/show-ssh-client-keys)
{% endcontent-ref %}
