Technology1 min read

You can't afford to keep your SSH keys on disk

By · Published by Everything Blog

In short

Unencrypted private credentials kept on personal workstations remain exposed to scanners seeking out sensitive authentication files. By utilizing Bitwarden's built-in SSH agent, developers can store their private keys directly within an integrated vault and customize authorization prompt intervals. Once local configuration files route traffic through the application socket, standard commands and developer utilities function normally without touching disk storage. Users can then safely erase the original private key files from their machines entirely.

Key points

  • Routing SSH traffic through an integrated password manager socket prevents private keys f…: Routing SSH traffic through an integrated password manager socket prevents private keys from lingering on local drives.
  • Customizable authorization prompt intervals allow administrators to balance daily develop…: Customizable authorization prompt intervals allow administrators to balance daily developer convenience with system security.
  • Users must confirm proper terminal agent operation before permanently deleting original p…: Users must confirm proper terminal agent operation before permanently deleting original private key files from disk.

Sources checked by our analysis pipeline: 1

Although it's clear to me that some of the panic is unwarranted, all the recent security vulnerability reports and company breaches are a good reason to think about what you're doing to avoid risk, and to mitigate exposure if something bad happens.

I'm a pathological self-hoster and I've been running all kinds of systems, from old toy projects to fun tools, and over time I've accumulated a lot of them. This has changed in the last couple of months, where I've instead been pruning my running services. I've taken down unused old apps, because anything can be an entry point into your system. And they were unused anyway. I've also moved most of services behind my Tailscale, with some judicious use of tailscale funnel

to poke little holes for specific things that do need to be publicly accessible. And I've been obssessively updating everything on my servers that can be updated.

That brings us to my personal computer. I've been trying to do the same kind of due diligence that I did for my servers, on my personal devices. I…

Technology