A newly published technical walkthrough describes how current versions of macOS can create an SSH identity backed by Apple’s Secure Enclave without installing a third-party key manager. The approach keeps the private key inside the Mac’s isolated security subsystem and can require Touch ID for every signing operation, reducing the value of malware that merely copies files from a user’s SSH directory.

The setup relies on macOS’s `sc_auth` utility and CryptoTokenKit rather than the more familiar Keychain workflow. In the author’s test, the system generated the key inside the Secure Enclave and produced a handle file for OpenSSH. That file is a reference used to request a signature; it is not an export of the private key itself. During authentication, the Secure Enclave signs the server challenge after biometric approval.

The guide says this capability works on macOS Sequoia and Tahoe. Creating a biometric-backed identity prompts for Touch ID, although the author had to re-enrol a fingerprint after an initial error. The resulting public key can be added to a server’s `authorized_keys` file in the usual way, while the local handle requires extra OpenSSH configuration.

Two details differ from common SSH-key instructions. First, the guide warns that `ssh-add -K` is deprecated and targets a different Keychain integration. It instead uses the `SSH_SK_PROVIDER` setting to direct OpenSSH to the relevant security-key provider. Second, OpenSSH does not automatically discover the generated `id_ecdsa_sk_rk` handle name, so users need to declare it explicitly with an `IdentityFile` entry in their SSH configuration. Existing SSH agents, including a separately configured password-manager agent, may also conflict during testing.

The security gain comes with operational limits. A Touch ID requirement makes silent use harder because each signature needs physical approval, but it also adds an interaction to routine Git and server connections. The CryptoTokenKit prompt is described as technical and less polished than a consumer-facing dialog. Third-party tools can offer a friendlier interface while still using Secure Enclave hardware, but they are not required for the native path.

Most importantly, a non-exportable key cannot be backed up. If the Mac fails or is lost, the Secure Enclave identity is unavailable by design. The guide recommends authorizing an independent recovery key—such as one held on another Mac or a hardware security key—on every important server. That preserves access without weakening the original key’s hardware boundary.

The technique therefore changes both the threat model and the recovery plan. It can protect against straightforward theft of private-key files and make each use visible through Touch ID, but it does not replace endpoint security, careful SSH configuration or redundant access. Administrators adopting it should test provider settings, agent interactions and recovery credentials before removing an existing working key.