← All projects
Project record1 mention
Originally shared on Hacker News

Keyward

Keyward is a TUI and headless CLI for managing SSH keys: it lists keys with algorithm, size, fingerprint and passphrase status, audits keys, config and permissions in ~/.ssh with an A-F grade and fix suggestions, edits ~/.ssh/config with byte-identical round-trip, generates keys, backs up keys and encrypted metadata for restoration on another machine, and manages known_hosts records. It ships as a single static Go binary with no daemon and no network calls.

Last shared
01 / The problem

What it addresses

The author's SSH keys and configs across many devices (Raspberry Pis, VPS, a handmade NAS) were a mess: permissions might be wrong and there was no way to tell a strong key from a weak one.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Keyward

    Keyward is a TUI and headless CLI for managing SSH keys: it lists keys with algorithm, size, fingerprint and passphrase status, audits keys, config and permissions in ~/.ssh with an A-F grade and fix suggestions, edits ~/.ssh/config with byte-identical round-trip, generates keys, backs up keys and encrypted metadata for restoration on another machine, and manages known_hosts records. It ships as a single static Go binary with no daemon and no network calls.

    Problem: The author's SSH keys and configs across many devices (Raspberry Pis, VPS, a handmade NAS) were a mess: permissions might be wrong and there was no way to tell a strong key from a weak one.

    Posted by @weiqur · Original source ↗

    Story title · @weiqur · · Source ↗

    Show HN: Keyward – a TUI to manage SSH keys and audit your –/.ssh security

    Submitted URL · @weiqur · · Source ↗

    https://github.com/gateway-of-last-resort/keyward

    Source text · @weiqur · · Source ↗

    The only reason I created this tool is a mess around my SSH keys and configs.

    Source text · @weiqur · · Source ↗

    I am constantly working with a bunch of devices via SSH (such as Raspberry Pi's, VPS, handmade NAS, etc.) and I never knew whether permissions were right and there was no way to tell a strong key from a weak one.

    Source text · @weiqur · · Source ↗

    Runs a security audit for all of your keys, config and permissions in ~/.ssh and grades the result with A-F score. Also here you can find fix suggestions for every problem

    Source text · @weiqur · · Source ↗

    Editor for ~/.ssh/config with byte-identical round-trip so all your comments are untouched

    Source text · @weiqur · · Source ↗

    Headless CLI, e.g. keyward audit --json --fail-on=warning

    Source text · @weiqur · · Source ↗

    No daemon, no network calls, no config to learn before starting, just a single static Go binary.