Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

melt

> 编程语言
Open source

Backup and restore Ed25519 SSH keys with seed words

725 stars0 likes0 views
WebsiteGitHub

About

Backup and restore Ed25519 SSH keys with seed words

Melt

Backup and restore SSH private keys using memorizable seed phrases.

Installation

Package Manager

…

You can download a binary or package from the releases page.

Go

Or just install it with go:

bash
go install github.com/charmbracelet/melt/cmd/melt@latest

Build (requires Go 1.17+)

bash
git clone https://github.com/charmbracelet/melt.git
cd melt
go build ./cmd/melt/

Usage

The CLI usage looks like the following:

bash
# Generate a seed phrase from an SSH key
melt ~/.ssh/id_ed25519

# Generate a seed phrase from a SSH key from standard input
cat ~/.ssh/id_ed25519 | melt

# Rebuild the key from the seed phrase
melt restore ./my-key --seed "seed phrase"

# Rebuild the key and print it to standard output
cat words | melt restore -

You can also pipe to and from a file:

…

shell melt restore ./my-key --seed "witness shoe deputy celery debate myth
title sign dish bone powder velvet reveal midnight blast mobile
valid cycle announce valid item interest cinnamon cake" Restoring key to ./my-key and ./my-key.pub... Enter new passphrase (empty for no passphrase): Enter same passphrase again:

Successfully restored keys to ./my-key and ./my-key.pub


You can verify that the memo is not there:

```shell
cat my-key.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKThPEoe20Wi5zAfyI+gTrTMnODbRtYtQRUZYIvfV19C

Run this command on the restored key:

bash
ssh-keygen -c -C [email protected] -f ./my-key
Old comment:
Comment '[email protected]' applied

And check to see your memo is set:

bash
cat my-key.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKThPEoe20Wi5zAfyI+gTrTMnODbRtYtQRUZYIvfV19C [email protected]

Contributing

See contributing.

Feedback

We’d love to hear your thoughts on this project. Feel free to drop us a note!

  • Twitter
  • The Fediverse
  • Discord

License

MIT


Part of Charm.

Charm热爱开源 • Charm loves open source

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Go

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言