# pier ssh-key

> Generate SSH certificate for shell access

URL: https://pier.run/docs/cli/reference/ssh-key

```bash
pier ssh-key [flags]
```

Generate SSH certificate for shell access.

## Flags

| Flag    | Value | Default                 | Description            |
| ------- | ----- | ----------------------- | ---------------------- |
| `--key` |       | `~/.ssh/id_ed25519.pub` | Path to SSH public key |

[Global flags](/docs/cli/reference#global-flags) apply to every command.
