pijul keys

Manage SSH and signing keys


pijul keys [-h | --help] [-V | --version] [--generate-ssh] [--generate-signing] [--local]  [(-p | --port) <port>] [--repository <repository>] [--upload-to <upload>]


When called with --generate-ssh or --generate-signing, generate SSH and signing keys. When called with --upload-to <upload>, upload the signing public key to a key server.


pijul keys --generate-signing


  • -h, --help

    Print a help message and exit.

  • -V, --version

    Print the version of Pijul and exit.

  • --generate-ssh

    Generate a SSH key

  • --generate-signing

    Generate a patch signing key. See here for more details.

  • --local

    Save the keys to the local repository instead of your home directory. This might be useful for managing several identities, but having several key pairs scattered around your folders is usually not a good idea.

    Make sure to know what you are doing when using this option.

  • -p, --port

    The port of the remote SSH server when using --upload-to. If not specified, this defaults to 22 (the standard SSH port).

  • --repository <repository>

    Don't run this command in the current directory, run it in <repository> instead.

  • --upload-to

    Upload the signing key to a key server, such as nest.pijul.com.