Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-24 00:17:31 +00:00
parent 058ce19122
commit 20dd4df506
9 changed files with 164 additions and 14 deletions

25
tldr/melt Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# melt
> Backup and restore Ed25519 SSH keys using memorizable seed phrases.
> More information: <https://github.com/charmbracelet/melt#usage>.
- Generate a seed phrase from an existing Ed25519 private key:
`melt {{~/.ssh/id_ed25519}}`
- Generate a seed phrase from `stdin`:
`{{cat ~/.ssh/id_ed25519}} | melt`
- Restore an SSH key from a seed phrase:
`melt restore {{path/to/key}} --seed "{{seed_phrase}}"`
- Restore an SSH key from a seed phrase via `stdin`:
`{{cat path/to/file}} | melt restore -`