2 ms·
I would hope that ssh zeros the memory used for the private key as soon as it's done with it (which would be after the authentication step in the handshake).
by agwa 12y ago
I would hope that ssh zeros the memory used for the private key as soon as it's done with it (which would be after the authentication step in the handshake).
- ambrice 12y agoBut then it would have to either keep the passphrase in memory (just as bad) or ask for the passphrase each time you reconnect later (defeats the purpose of ssh-agent). Edit: Nevermind, you're talking about ssh, not ssh-agent..
- scott_karana 12y agoYou're right, I forgot that it would switch to asymmetric crypto after the handshake. My bad. Still, with root it would be trivial to attach a debugger to the daemon, et cetera.