Store or generate an SSH key
Save an SSH private key, its public key and its passphrase in Password Vault, or generate a new Ed25519 key in your browser.
An SSH key item stores a private key, its public key and the key's passphrase.
Store a key you already have
- Choose New item, then SSH key.
- Paste the contents of the private key file, such as
~/.ssh/id_ed25519. When the key is in OpenSSH format, the formatssh-keygenwrites, the public key is filled in from it. - For a key in another format, paste the public key from its
.pubfile 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, Contact support.
Ask Magpie support
Send Magpie staff a question about anything this article does not answer.