Error map
Received disconnect: Too many authentication failures Received disconnect from host port 22:2: Too many authentication failures
Linux · layer 6, Platform & cloud
Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (12)
perl: warning: Setting locale failed / bash: warning: setlocale: LC_ALL: cannot change locale
Your session asks for a locale (often forwarded by SSH from your Mac/PC) that isn’t generated on the server.
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed)
The server’s SSH host key differs from the one saved in ~/.ssh/known_hosts — usually because the server was rebuilt or the IP was…
Received disconnect: Too many authentication failures
Your SSH agent offered too many keys before the right one, and the server cut the connection (MaxAuthTries, default 6).
Node.js: write EPROTO ... SSL routines:ssl3_get_record:wrong version number (https:// to an HTTP port, or http agent for https)
The client attempted TLS against a server (or port) that doesn't speak TLS, or used the wrong HTTP agent.
channel 2: open failed: administratively prohibited: open failed
The server disallows TCP forwarding.
Command createUser requires authentication
Once auth is on and users exist, you must log in to create users.
git: 'credential-manager-core' is not a git command. See 'git --help'.
The configured credential helper isn't installed.
com.example.agent[1234]: Service exited with abnormal code: 1 / throttling respawn: Will start in 10 seconds
A LaunchAgent crashes and launchd restarts it.
Enter passphrase for key '/home/user/.ssh/id_ed25519':
The key isn't cached in an agent, so each use prompts.
remote: Invalid username or password (cached credentials)
A stored credential is outdated but keeps being sent.
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Git needed credentials but can't ask because there is no terminal.
gh: Bad credentials (HTTP 401) / error validating token: HTTP 401
The GitHub CLI token is invalid or expired.
Two steps away (36)
bash: command not found
The shell can’t find an executable with that name in any directory on your PATH.
ssh: connect to host x port 22: Connection refused
The server answered, but nothing is listening on the SSH port — sshd isn’t running, it uses another port, or a firewall actively…
ssh: connect to host x port 22: Connection timed out
SSH packets get no reply — a firewall/security group drops them, the server is off, or the IP is wrong.
Git: Permission denied (publickey). fatal: Could not read from remote repository.
SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.
Host key verification failed. fatal: Could not read from remote repository.
SSH doesn’t trust the server’s host key — first connection in a non-interactive environment, or the key changed.
WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open
SSH refuses to use a private key that other users can read; it must be readable only by you (chmod 600).
client_loop: send disconnect: Broken pipe (SSH session drops when idle)
The SSH connection was cut — usually an idle timeout on a NAT router, firewall or the server, sometimes a network change.
passwd: Authentication token manipulation error
passwd couldn’t update the password — the root filesystem is read-only, /etc/shadow has wrong permissions/attributes, or a PAM ru…
AADSTS50126: Error validating credentials due to invalid username or password
Microsoft Entra ID (Azure AD) rejected the sign-in because the username or password is wrong — or the flow can’t use passwords fo…
Node.js: Error: unable to verify the first certificate (code: UNABLE_TO_VERIFY_LEAF_SIGNATURE)
Node could not verify the server's leaf certificate because the intermediate certificates were not provided by the server.
OpenSSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
The peer did not answer with a TLS record — you spoke TLS to a plain HTTP/SMTP port (or the reverse), or a proxy intervened.
Let's Encrypt: Fetching http://example.com/.well-known/acme-challenge/token: Timeout during connect (likely firewall problem)
The ACME validation server could not reach your server on port 80 within the timeout.
ssh: /Users/me/.ssh/config: line 5: Bad configuration option: usekeychain
The `UseKeychain` option in `~/.ssh/config` is only understood by Apple's OpenSSH, not by a Homebrew/other OpenSSH.
macOS: Enter passphrase for key '/Users/me/.ssh/id_ed25519': (every time after restart)
macOS doesn't automatically reload SSH keys into the agent after a restart unless configured to use the keychain.
ERROR: Permission to org/repo.git denied to other-user.
SSH offers the wrong key, so GitHub sees another account.
MongoServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted
Atlas rejects connections from IP addresses that aren't in the project's Network Access list.
MongoServerError: bad auth : Authentication failed. (Atlas user / special characters in password)
Atlas rejected the username/password in the connection string.
MongoServerError: command find requires authentication / not authorized on mydb to execute command { find: "users" }
The connection is authenticated as a user without privileges for that action — or isn't authenticated at all.
fatal: Authentication failed for 'https://github.com/x/y.git/'
HTTPS authentication to the Git host failed — wrong or expired credentials, or a password used where a token is required.
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
GitHub no longer accepts account passwords for Git over HTTPS.
Could not open a connection to your authentication agent.
ssh-agent isn't running or has no key loaded.
macOS: “App” is damaged and can’t be opened. You should move it to the Trash.
Gatekeeper blocked an app that isn’t properly signed/notarized or was modified after download (quarantine attribute).
Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app'
A cask install failed because the app is already installed manually (or a leftover exists).
macOS (Apple Silicon): zsh: bad CPU type in executable: ./tool
You ran an Intel (x86_64) program on an Apple Silicon Mac without Rosetta 2 (or an arm64 binary on an Intel Mac).
kex_exchange_identification: Connection closed by remote host
The SSH connection was closed before the handshake — server overload, rate limiting, or a proxy/firewall interfering.
Git: git: 'credential-osxkeychain' is not a git command. See 'git --help'
Git is configured to use the macOS keychain helper, but the helper binary isn't found by the Git you're running.
openssl: bad decrypt / Could not read private key — wrong passphrase or cipher
The encrypted private key or file couldn't be decrypted with the supplied password.
macOS: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. (errSecItemNotFound -25300)
A lookup in the macOS keychain found no matching item, or access to it was denied.
Networking: wlan0: WPA: 4-way handshake failed - pre-shared key may be incorrect / WRONG_KEY
The Wi-Fi association started but key negotiation failed, almost always a wrong password.
warning: credential.helper wincred removed in Git for Windows
Git for Windows removed the old wincred helper.
Jenkins: ERROR: Could not find credentials entry with ID 'github-token'
The Jenkinsfile references a credentials ID that does not exist in the scope Jenkins can see for this job.
(behavior) git status shows nothing after renaming File.js to file.js
On case-insensitive file systems Git doesn't notice a case-only rename.
fatal: No names found, cannot describe anything.
`git describe` can't find a tag in the available history.
AWS CLI/SDK: SSL validation failed for https://... certificate verify failed (custom CA bundle / proxy)
The AWS CLI or SDK can't verify the endpoint's certificate, usually behind a TLS-inspecting proxy or with an outdated bundle.
remote: Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization.
Your token or SSH key isn't authorized for the org's SSO.
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled
GitLab rejected your HTTPS login.