Skip to main content
GitHub Docs
All products
身份验证
帐户安全性
Authentication to GitHub
创建强密码
Update access credentials
Create a personal access token
审查 SSH 密钥
部署密钥
授权 OAuth 应用
授权 GitHub Apps
Authorized integrations
第三方应用程序
Review OAuth apps
令牌过期
安全日志
删除敏感数据
关于匿名化 URL
GitHub's IP addresses
SSH key fingerprints
Sudo 模式
未授权的访问
Viewing and managing sessions
Secure your account with 2FA
About 2FA
Configure 2FA
Configure 2FA recovery
Access GitHub with 2FA
Recover an account with 2FA
Change 2FA delivery method
Countries supporting SMS
禁用 2FA
使用 SSH 进行连接
关于 SSH
Check for existing SSH key
Generate new SSH key
Add a new SSH key
Test your SSH connection
SSH key passphrases
SSH 故障排除
Use SSH over HTTPS port
Recover SSH key passphrase
已删除或缺少的 SSH 密钥
Permission denied (publickey)
错误:文件编号错误
错误:密钥已被使用
Permission denied other-user
Permission denied other-repo
Agent failure to sign
ssh-add: illegal option -- K
SSL 证书问题
错误:未知密钥类型
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
.
身份验证
/
使用 SSH 进行连接
Free, Pro, & Team
简体中文
Search GitHub Docs
GitHub Docs
身份验证
/
使用 SSH 进行连接
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
Free, Pro, & Team
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
GitHub AE
All Enterprise Server releases
About versions
简体中文
English
简体中文
Español
Português do Brasil
Русский
日本語
Français
Deutsch
한국어
Search GitHub Docs
通过 SSH 连接到 GitHub
您可以使用 Secure Shell Protocol (SSH) 连接到 GitHub ,该协议通过不安全的网络提供安全通道。
关于 SSH
检查现有 SSH 密钥
生成新的 SSH 密钥并将其添加到 ssh-agent
新增 SSH 密钥到 GitHub 帐户
测试 SSH 连接
使用 SSH 密钥密码