An SSH key item stores a private key, its public key and the key's passphrase.

Store a key you already have

  1. Choose New item, then SSH key.
  2. Paste the contents of the private key file, such as ~/.ssh/id_ed25519. When the key is in OpenSSH format, the format ssh-keygen writes, the public key is filled in from it.
  3. For a key in another format, paste the public key from its .pub file as well.

A public key you entered yourself is not replaced.

Generate a new key

Generate key makes a new Ed25519 key in your browser. Its comment is the item's title. It has no passphrase; Password Vault encrypts it like every other value.

To use the key, save the private key to a file that only you can read, such as ~/.ssh/id_ed25519 with chmod 600, and add the public key to the server or Git host. To add a passphrase, run ssh-keygen -p -f with the file, then paste the key back into the item.

Key type and fingerprint

The item shows the key type, such as Ed25519 or RSA, and its SHA256 fingerprint, which matches what ssh-keygen -l prints. Click the fingerprint to copy it. When the private key is protected by a passphrase, the key type says so. When the public key belongs to a different key than the private key, the item says that they do not match, and the fingerprint is the public key's.

SSH keys in the Magpie app

The Magpie app stores SSH keys, fills in the public key and shows the type and fingerprint. It cannot generate a key.

If a key cannot be saved, Support kontaktieren.

Den Magpie-Support fragen

Senden Sie dem Magpie-Team eine Frage zu allem, was dieser Artikel nicht beantwortet.