Skip to content
Supporting clients since 2024 · 15 years of IT experience
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.

Updated · Describes CybexConnect 1.3.2

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#

FindingWhy it matters
Reused passwordsThe same password in several credentials: one leak opens all of them.
SSH hosts signing in with a passwordKeys are safer: nothing to guess or reuse. Rotate moves them to a key.
SSH hosts without a saved sign-inThey ask each time, and can't be rotated, monitored or broadcast to.
Weak keysShort RSA or DSA keys. Replace them with Ed25519.
Keys older than a yearRotating 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:

  1. Sign in as today.
    With the host's current credential, through its jump host if it has one.
  2. Add the new public key.
    Appended to ~/.ssh/authorized_keys, after a backup copy authorized_keys.cybexconnect-bak is made. A key that's already there isn't added twice.
  3. Check the new key signs in.
    A fresh connection using only the new key.
  4. Switch the host to the new key in the vault.
  5. 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.