Skip to main content
GitHub Docs
Version:
Enterprise Server 3.17
Search or ask Copilot
Search or ask
Copilot
Select language: current language is English
Search or ask Copilot
Search or ask
Copilot
Open menu
Collapse sidebar
Expand sidebar
Scroll breadcrumbs left
Home
Authentication
Connect with SSH
SSH agent forwarding
Scroll breadcrumbs right
Authentication
Account security
Authentication to GitHub
Create a strong password
Switching between accounts
Update access credentials
Manage personal access tokens
Reviewing your SSH keys
Deploy keys
Token expiration
Review security log
Security log events
Remove sensitive data
Sudo mode
Unauthorized access
Viewing and managing sessions
Secure your account with 2FA
About 2FA
Configure 2FA
Configure 2FA recovery
Access GitHub with 2FA
Change 2FA method
Troubleshooting 2FA
Recover an account with 2FA
Disable 2FA
Authenticate with a passkey
About passkeys
Manage your passkeys
Sign in with a passkey
Connect with SSH
About SSH
Check for existing SSH key
Generate new SSH key
Add a new SSH key
Test your SSH connection
SSH key passphrases
SSH agent forwarding
Managing deploy keys
Troubleshooting SSH
Recover SSH key passphrase
Permission denied (publickey)
Error: Bad file number
Error: Key already in use
Permission denied other-user
Permission denied other-repo
Agent failure to sign
ssh-add "illegal option" error
Error: Unknown key type
SSH key audit
Verify commit signatures
Commit signature verification
Existing GPG keys
Generating a new GPG key
Add a GPG key
Tell Git about your signing key
Associate email with GPG key
Signing commits
Signing tags
Displaying verification for all commits
Troubleshoot verification
Check verification status