this post was submitted on 24 Nov 2026
-34 points (23.4% liked)

Selfhosted

64018 readers
683 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Mordikan@kbin.earth 65 points 1 day ago (3 children)

So, instead of hosting your own SSH keys, you have a 3rd party host your SSH keys?

[–] KairuByte@lemmy.dbzer0.com 42 points 1 day ago (6 children)

No, memorize them and type them in by hand every time you need them.

[–] Alvaro@lemmy.blahaj.zone 1 points 5 hours ago

So the meat cloud?

[–] cow@lemmy.world 1 points 5 hours ago

There's people who memorize their 20 or 30 word cryptocurrency seeds. There's no reason someone couldn't memorize an ssh key if you encoded it as words. Still not very practical though.

[–] Reannlegge@lemmy.ca 4 points 1 day ago

A 256 RSA key eh? Sure no problem.

[–] SpatchyIsOnline@lemmy.world 22 points 1 day ago

Hmm... Almost like some kind of... password? 🤔

[–] ede1998@troet.cafe 7 points 1 day ago (1 children)

@KairuByte @Mordikan that's what i did when working at eMudhra. Just gotta make sure the key is easy to memorize, like 4.
/s

[–] Mordikan@kbin.earth 2 points 11 hours ago

You know we didn't have these problems back in the days of telnet. We were all just out there raw dogging our passwords in clear text.

[–] Zwuzelmaus@feddit.org 3 points 1 day ago

This is the way.

[–] bhhaskin@lemmy.bitsofsimplicity.com 16 points 1 day ago (1 children)

Yeah if you are really concerned then use a yubikey or smart card.

[–] i_am_not_a_robot@discuss.tchncs.de 8 points 1 day ago (1 children)

I've never tried it, but another option is ssh-tpm-agent or tpm2-pkcs11. Basically they use the TPM as a non-removable smart card, which is free and potentially more secure than a regular smart card because a smart card can't normally verify the integrity of the OS that is talking to it. If you're connecting from a Mac, Apple's system is called Secure Enclave.

[–] jj4211@lemmy.world 1 points 1 hour ago

However the "non removable" part gets you back to being susceptible to malware. If you are afraid malware can read your disk, then malware can further submit signing requests to any online ssh key mechanism.

So having a removable device at least means you know beyond any shadow of a doubt that not only is your key credibly protected, but use of your key is outright impossible when not plugged in.

[–] taco_shale032@lemmy.ml 9 points 1 day ago* (last edited 1 day ago) (2 children)

You can self host Bitwarden, which is what I assumed most people in this community do.

I’m not entirely sure why this got downvoted, it’s not a terrible idea to put your keys in your password manager rather than leave them on disk in plain text.

[–] rako@tarte.nuage-libre.fr 6 points 22 hours ago (1 children)

The title is misleading. There's no problem with keeping ssh private keys on disk, there's a problem with keeping private keys in cleartext. OpenSSH keys are always encrypted on your disk, unless you have no passphrase, which is just stupid and the very first thing you must solve.

Once you have a passphrase there is no problem. Of course don't store the passphrase on disk, store it... in your password manager.

Your post is a solution to a problem that doesn't exist and is a result of a lack of knowledge. Yet the blog post.

[–] taco_shale032@lemmy.ml 2 points 21 hours ago

Thanks for explaining.

Normally if people are worried they store their keys encrypted on disk and use ssh-agent. Putting them in Bitwarden is a little less secure because you're distributing the encrypted files to more places and likely decrypting them on multiple devices. But it is convenient.