Docs menuVault health and SSH key rotation
Vault health and SSH key rotation
Find reused passwords, weak or old keys and hosts still signing in with a password, then move many servers to a new Ed25519 key in one go, safely.
Vault then Health looks over your credentials and hosts and lists anything worth fixing. "Looks good" means SSH hosts use keys, no passwords are reused, and no keys are weak or old.
What it checks#
| Finding | Why it matters |
|---|---|
| Reused passwords | The same password in several credentials: one leak opens all of them. |
| SSH hosts signing in with a password | Keys are safer: nothing to guess or reuse. Rotate moves them to a key. |
| SSH hosts without a saved sign-in | They ask each time, and can't be rotated, monitored or broadcast to. |
| Weak keys | Short RSA or DSA keys. Replace them with Ed25519. |
| Keys older than a year | Rotating regularly limits what a lost laptop or old backup can open. |
Rotating SSH keys#
Rotate SSH keys puts a new key on the hosts you choose (generate a new Ed25519 key or pick one from the vault). For each host, in order, stopping at the first failure:
- Sign in as today.With the host's current credential, through its jump host if it has one.
- Add the new public key.Appended to
~/.ssh/authorized_keys, after a backup copyauthorized_keys.cybexconnect-bakis made. A key that's already there isn't added twice. - Check the new key signs in.A fresh connection using only the new key.
- Switch the host to the new key in the vault.
- Optionally, remove the old key.Done over the verified new-key connection, so a host is never left without a key that works.
Generated keys are named with the date, such as CybexConnect 2026-11-26. To add a public key to a server by hand, copy it from Vault then SSH keys.
Still stuck?
Tell us what you tried and what you saw. The people who build CybexConnect answer support requests.

