When gpg-agent is running (used by Yubikeys to hold keys), tsh adds SSH certificates to the agent, which gpg-agent does not understand (gpg-agent does not support SSH certificates). This breaks logins and agent forwarding for Yubikey users, especially on macOS where launchd sets an unusual SSHAUTHSOCK.