Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
明確かつ明確にするために。OpenSSH エージェントは、暗号化されていない秘密鍵をメモリに保持しますか? それともパスフレーズをメモリに保持し、必要に応じてキーを復号化しますか? この質問 9650410は、間接的に答えていると思います。(暗号化されていない秘密鍵はメモリ内にあります。)
私はコーダーではないので、試してみてもソースを理解できませんでした。
ssh-agent はパスフレーズを 1 回使用して秘密鍵を復号化し、復号化された秘密鍵はメモリに保持されると思います。パスフレーズは最初だけ使用されます。
参照: https://security.stackexchange.com/questions/39837/does-ssh-agent-store-the-ssh-key-passwords-in-cleartext-in-the-memory