Skip to main content
GitHub Docs
All products
身份验证
Account security
Authentication to GitHub
Create a strong password
Update access credentials
Create a personal access token
审查 SSH 密钥
部署密钥
授权 OAuth 应用
授权 GitHub Apps
Authorized integrations
Third-party applications
Review OAuth apps
令牌过期
Security log
删除敏感数据
Sudo 模式
未授权的访问
Secure your account with 2FA
About 2FA
Configure 2FA
Configure 2FA recovery
Access GitHub with 2FA
Recover an account with 2FA
Disable 2FA
Connect with SSH
关于 SSH
Check for existing SSH key
Generate new SSH key
Add a new SSH key
Test your SSH connection
SSH key passphrases
SSH 故障排除
Recover SSH key passphrase
Permission denied (publickey)
错误:文件编号错误
错误:密钥已被使用
Permission denied other-user
Permission denied other-repo
Agent failure to sign
ssh-add: illegal option -- K
错误:未知密钥类型
SSH key audit
Verify commit signatures
Commit signature verification
Displaying verification for all commits
Existing GPG keys
生成新 GPG 密钥
Add a GPG key
Tell Git your signing key
Associate email with GPG key
对提交签名
对标记签名
Troubleshoot verification
Check verification status
Use verified email in GPG key
We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the
English documentation
.
身份验证
/
Secure your account with 2FA
Enterprise Server 3.6
简体中文
Search GitHub Docs
GitHub Docs
身份验证
/
Secure your account with 2FA
Authentication
Get started
Account and profile
Authentication
Repositories
Enterprise administrators
Billing and payments
Site policy
Organizations
Code security
Pull requests
GitHub Issues
GitHub Actions
GitHub Copilot
GitHub Codespaces
GitHub Packages
Search on GitHub
Developers
REST API
GraphQL API
GitHub CLI
GitHub Discussions
GitHub Sponsors
Building communities
GitHub Pages
Education
GitHub Desktop
GitHub Support
Electron
CodeQL
npm
Enterprise Server 3.6
Free, Pro, & Team
Enterprise Cloud
Enterprise Server 3.7
Enterprise Server 3.6
Enterprise Server 3.5
Enterprise Server 3.4
Enterprise Server 3.3
All Enterprise Server releases
About versions
简体中文
English
简体中文
Español
Português do Brasil
Русский
日本語
Français
Deutsch
한국어
Search GitHub Docs
使用双重身份验证 (2FA) 保护您的帐户
可将 your GitHub Enterprise Server instance 上的帐户设置为在登录时除了密码以外还需要验证码。
关于双重身份验证
配置双重身份验证
配置双重身份验证恢复方法
使用双重身份验证访问 GitHub
丢失 2FA 凭据时恢复帐户
禁用个人帐户的双重身份验证