Secret Share Share a secret

How to send an SSH key securely

First, check whether you need to send the private key at all. In most setups the right move is the opposite direction: the recipient generates a keypair on their machine and sends you the public key (id_ed25519.pub), which is safe to send anywhere — you add it to authorized_keys or your cloud console. Private keys ideally never move. The legitimate exceptions: migrating your own key to a new machine, handing over a deploy key, or break-glass access to a shared appliance.

Why not email or Slack?

Both keep a copy of everything, forever, searchable. An SSH private key pasted into a channel outlives the moment: it sits in message history, in email threads that get forwarded, in export archives, in compliance backups, and on every device that synced the conversation. If any account involved is ever compromised — years later — the key goes with it. Security teams call this the data-at-rest problem: the transfer took five seconds, but the exposure is permanent.

What a secure transfer looks like

Step by step with Secret Share

  1. Open shareasecret.io — no account needed.
  2. Paste the key (e.g. the contents of ~/.ssh/id_ed25519) and click Encrypt & create share code. Encryption happens in your browser; the server only ever sees ciphertext.
  3. You get a code like XKQ2-M7PT-tiger-ocean-cable-ruby-drum and a link. Read the code over a call, or send the link — the secret part never reaches any server (it lives in the URL fragment).
  4. If you keep your tab open and the recipient opens the link while you're online, the key transfers directly browser-to-browser and the encrypted copy is deleted from the server immediately. Otherwise they can claim the encrypted drop any time before it expires.
  5. The first read destroys it. If you pasted the wrong thing, hit Destroy secret now.

For the strictest posture, tick “Direct transfer only” before sharing — then nothing is uploaded at all, not even ciphertext, and the key moves exclusively between your two browsers.

After the transfer

Need to hand over a key right now? End-to-end encrypted, read-once, no account.

Share a secret →