Use a USB-C security key (sk-ed25519 or sk-ecdsa) for SSH login.
Under Add a key the USB-C security key row has two buttons: Enroll Ed25519 and Enroll P-256. Plug the key into the device's USB-C port, then tap one. You can also import an OpenSSH sk-ed25519 or sk-ecdsa private key file. The private key never leaves the YubiKey.
When you connect, touch the key when its light blinks.
A security key cannot be used together with a user certificate.