you are viewing a single comment's thread
view the rest of the comments
[–] 169 points 6 months ago (3 children)

Microsoft SSH agent persistently stores your unencrypted private keys in the registry. They're still there unlocked and usable after you reboot.

https://github.com/PowerShell/Win32-OpenSSH/issues/1487

  • source
  • hideshow 3 child comments
  • [–] 29 points 6 months ago (1 child)

    God, the final comment in that thread makes my blood boil.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 6 months ago

    That is infuriating. Leaving those keys available to the user means that worms can later use you to compromise additional machines. It turns a local problem into a much bigger one. There's a recursive script out there that automatically scans your ssh files and attempts to access all hosts in your history..name escapes me at the moment.

  • source
  • parent