---
title: "Nicolas Mattia – Setting up SSH keys on macOS with Touch ID"
url: "https://xlrocket.men/nicolas-mattia-setting-up-ssh-keys-on-macos-with-touch-id"
markdown_url: "https://xlrocket.men/nicolas-mattia-setting-up-ssh-keys-on-macos-with-touch-id.md"
format: "link"
published: "2026-10-21T12:24:25.000Z"
link_url: "https://nmattia.com/posts/2026-10-19-setting-up-ssh-keys-touch-id/"
site: "火箭君 MEN"
---

# [Nicolas Mattia – Setting up SSH keys on macOS with Touch ID](https://nmattia.com/posts/2026-10-19-setting-up-ssh-keys-touch-id/)

译：在 macOS 上用 Touch ID 管 SSH 密钥

- Secure Enclave 存私钥，导不出来，每次使用都要按 Touch ID；3 条命令配好
- 硬盘上没有 `id_ed25519` 可偷，GitHub 也能用
- 配合 OVHcloud 换包那条：开发机密钥能不落盘就别落盘
