Re:Extracting SSH Private Keys from Windows 10 ssh-agent
by simias on Monday May 21, 2018 @12:33PM
(#17119611)
~/.ssh/id_rsa can be protected by a password, you'll want to access the running ssh-agent process memory to get the key in cleartext (unless the person use some security token in which case you can't access the key, just try to login on a remote computer directly while the HSM is available).
Re:Extracting SSH Private Keys from Windows 10 ssh-agent
by jkaplowitz on Monday May 21, 2018 @01:07PM
(#17119908)
But while ssh-agent has the key unlocked on a Linux system, any process running as that user can use the key without knowing the passphrase the ssh-agent. That's the more direct comparison.
[0] https://msdn.microsoft.com/en-us/library/ms995355.aspx