跳到正文
Hacker News 高分· js2·· 24 天前AI 评分72

用 macOS Secure Enclave 保护 SSH 密钥

Protecting SSH Keys with macOS Secure Enclave

AI 导读

作者介绍了将 SSH 私钥存放在 macOS Secure Enclave 的配置方法,使私钥无法从硬件导出且每次使用需 Touch ID 确认。文中给出了使用 sc_auth 和 ssh-keygen 创建密钥、配置 SSH_SK_PROVIDER 及 ~/.ssh/config 的具体步骤,并提到需通过 ssh-copy-id 将公钥添加到服务器。

来源:Hacker News 高分 · gatezh.com