Files
2026-02-17 23:08:31 +01:00

17 lines
370 B
Markdown

# sync-keypairs
Backs up all SSH keypairs into Bitwarden.
## Prerequisites
- [bitwarden-cli](https://github.com/bitwarden/clients/tree/main/apps/cli) installed
- Run `bw login` first
## Usage
```bash
./sync-keypairs.sh
```
This will unlock Bitwarden, sync your vault, and save each SSH keypair as a login item with attachments in `ssh-keys/<hostname>/<username>`.