17

My ssh keys are oldMany times I had the Idea to replace them and cleanup. Put the approach feels old not intuitive and i'm affraid of problems.

How do you manage keys and get sure they do ot get to old.

you are viewing a single comment's thread
view the rest of the comments
[-] solrize@lemmy.ml 3 points 5 months ago

Do you think they are compromised? Generally you have to invalidate the public keys in any .ssh_hosts file that accepts them, and create new ones instead. I generally install .ssh_hosts on remote machines using an ansible playbook. I don't have any automation to cycle them but I guess I would also do that with ansible if I thought it were needed.

Ansible may be old school by now, but it works for me. Maybe the cool kids are using something newer now. I want to look into nix or guix one of these days.

[-] 4am@lemmy.zip 2 points 5 months ago

nix for local machine config, Terraform for VM wrangling, and Ansible to orchestrate it all

[-] amateurcrastinator@lemmy.world 1 points 5 months ago

Can you expand a little bit on that please?

[-] B0rax@feddit.org 1 points 5 months ago

Man, I really need to learn ansible…

[-] slazer2au@lemmy.world 1 points 5 months ago

Learn Linux TV on YouTube has an awesome series on it.

this post was submitted on 21 Dec 2025
17 points (100.0% liked)

Selfhosted

59651 readers
151 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.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS