this post was submitted on 18 Sep 2024
40 points (91.7% liked)

Selfhosted

39250 readers
271 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I had changed the SSH password on something so I had to dig through my known hosts file, and saw the word FUCK spelled out in there in all caps. I chuckled but am sure there's an explanation

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 16 hours ago

The ~/.ssh/known_hosts file only contains public keys. I mean, maybe someone doesn't want to hand out the list of hosts that they talk to, but exposing it doesn't expose the private keys, which are what you really need to keep secret.

Those are in ~/.ssh/id_rsa or the like, depending upon key type.