• caglararli@hotmail.com
  • 05386281520

SSH-Agent writing unencrypted keys to swap memory

Çağlar Arlı      -    9 Views

SSH-Agent writing unencrypted keys to swap memory

I have recently set up a computer with full disk encryption, and I decided not to encrypt the swap partition for performance reasons. I have been using ssh-agent on another computer to load my private keys, and was wondering if it were possible that the unencrypted keys got written to swap memory, hence risking having my private keys being unencrypted at rest.

OpenSSH version:

$ ssh -V
OpenSSH_9.6p1, LibreSSL 3.3.6