Storing SSH private keys directly on a local disk makes them susceptible to exfiltration by malicious software. If a system is compromised, an attacker could potentially scan the disk and steal these keys, gaining unauthorized access to other systems.
To address this vulnerability, the author moved SSH private keys from local disk storage to Bitwarden. This change was motivated by recent security vulnerability reports and company breaches, prompting a review of personal security practices.
The chosen solution involves using Bitwarden not just as a password manager, but also as an SSH agent. This allows the private keys to be loaded into memory from Bitwarden when needed, rather than residing permanently on the disk. The setup requires importing existing private keys into Bitwarden or generating new ones within the service.
The initial step is to ensure private keys are stored in Bitwarden. This can be done by creating a new SSH key within Bitwarden, which generates one automatically, or by copying an existing private key into the Bitwarden entry. The article notes that the Bitwarden UI for importing SSH keys can be awkward.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
This article details a method for storing SSH private keys within Bitwarden and using it as an SSH agent, removing them from local disk storage. This approach aims to mitigate the risk of private keys being exfiltrated by malicious code scanning the disk.