Recovering your account if you lose your 2FA credentials
If you lose access to your two-factor authentication credentials, you can use your recovery codes, or another recovery option, to regain access to your account.
Error: Permission denied (publickey)
A "Permission denied" error means that the server rejected your connection. There could be several reasons why, and the most common examples are explained below.
Creating a strong password
Secure your account on GitHub.com with a strong and unique password using a password manager.