{"meta":{"title":"使用双重身份验证 (2FA) 保护您的帐户","intro":"可将 GitHub 上的帐户设置为在登录时除了密码以外还需要验证码。","product":"身份验证","breadcrumbs":[{"href":"/zh/enterprise-cloud@latest/authentication","title":"身份验证"},{"href":"/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa","title":"使用 2FA 保护你的帐户"}],"documentType":"category"},"body":"# 使用双重身份验证 (2FA) 保护您的帐户\n\n可将 GitHub 上的帐户设置为在登录时除了密码以外还需要验证码。\n\n## Links\n\n* [关于双重身份验证](/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa/about-two-factor-authentication)\n\n  双重身份验证 (2FA) 是登录网站或应用时使用的额外保护层。启用 2FA 时，必须使用您的用户名和密码登录，并提供另一种只有您知道或可以访问的身份验证形式。\n\n* [关于强制双因素身份验证](/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa/about-mandatory-two-factor-authentication)\n\n  启用强制双重身份验证来保护帐户并维护对帐户 GitHub.com的访问权限。\n\n* [配置双重身份验证](/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication)\n\n  您可以选择多个选项，以向帐户添加第二个身份验证源。\n\n* [配置双重身份验证恢复方法](/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication-recovery-methods)\n\n  你可以设置多种恢复方法，以便在丢失双重身份验证凭据的情况下访问你的帐户。\n\n* [使用双重身份验证访问GitHub](/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication)\n\n  启用 2FA 后，系统会要求你在登录 GitHub时提供 2FA 身份验证代码以及密码。\n\n* [支持 SMS 身份验证的国家/地区](/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa/countries-where-sms-authentication-is-supported)\n\n  考虑到短信传送成功率，GitHub 只支持在某些国家/地区通过短信进行双重身份验证。\n\n* [更改双因素身份验证方法](/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa/changing-your-two-factor-authentication-method)\n\n  无需完全禁用双因素身份验证 (2FA) 即可更改 2FA 方法。\n\n* [双因素身份验证问题故障排除](/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa/troubleshooting-two-factor-authentication-issues)\n\n  如果在使用 2FA 验证身份时遇到问题，可以尝试对配置的身份验证方法进行故障排除。\n\n* [丢失 2FA 凭据时恢复帐户](/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your-account-if-you-lose-your-2fa-credentials)\n\n  如果无法访问双重身份验证凭据，您可以使用恢复代码或其他恢复选项重新获取对帐户的访问权限。\n\n* [禁用个人帐户的双重身份验证](/zh/enterprise-cloud@latest/authentication/securing-your-account-with-two-factor-authentication-2fa/disabling-two-factor-authentication-for-your-personal-account)\n\n  如果禁用个人帐户的双重身份验证，可能失去对所属组织的访问权限。"}