Error map

Received disconnect: Too many authentication failures Received disconnect from host port 22:2: Too many authentication failures

Linux · layer 6, Platform & cloud

Open the full error page →

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.

Received disconnect: Too many authentication failures — Received disconnect from host port 22:2: Too many authentication failures (Linux)Received di…Setting locale failed — perl: warning: Setting locale failed / bash: warning: setlocale: LC_ALL: cannot change locale (Linux)Setting locale fail…REMOTE HOST IDENTIFICATION HAS CHANGED — WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed) (Linux)REMOTE HOST IDENTIF…Too many authentication failures — Received disconnect: Too many authentication failures (Linux)Too many authentica…wrong version number — Node.js: write EPROTO ... SSL routines:ssl3_get_record:wrong version number (https:// to an HTTP port, or http agent for https) (SSL / TLS)wrong version numberchannel 2: open failed: administratively prohibited: open failed — channel 2: open failed: administratively prohibited: open failed (Linux)channel 2: open fai…Auth enabled: first user cannot be created (localhost exception) — Command createUser requires authentication (MongoDB)Auth enabled: first…git: 'credential-manager' is not a git command — git: 'credential-manager-core' is not a git command. See 'git --help'. (Git)git: 'credential-ma…launchd: Service exited with abnormal code / throttling respawn — com.example.agent[1234]: Service exited with abnormal code: 1 / throttling respawn: Will start in 10 seconds (macOS)launchd: Service ex…SSH asks for passphrase on every git push — Enter passphrase for key '/home/user/.ssh/id_ed25519': (Git)SSH asks for passph…Git keeps using an old password (macOS Keychain / Windows Credential Manager) — remote: Invalid username or password (cached credentials) (Git)Git keeps using an …fatal: could not read Username: terminal prompts disabled — fatal: could not read Username for 'https://github.com': terminal prompts disabled (Git)fatal: could not re…gh: HTTP 401: Bad credentials — gh: Bad credentials (HTTP 401) / error validating token: HTTP 401 (Git)gh: HTTP 401: Bad c…command not found — bash: command not found (Linux)command not foundssh port 22 Connection refused — ssh: connect to host x port 22: Connection refused (Linux)ssh port 22 Connect…ssh port 22 Connection timed out — ssh: connect to host x port 22: Connection timed out (Linux)ssh port 22 Connect…publickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyHost key verification failed — Host key verification failed. fatal: Could not read from remote repository. (Git)Host key verificati…UNPROTECTED PRIVATE KEY FILE — WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open (Linux)UNPROTECTED PRIVATE…client_loop: send disconnect: Broken pipe — client_loop: send disconnect: Broken pipe (SSH session drops when idle) (Linux)client_loop: send d…Authentication token manipulation error — passwd: Authentication token manipulation error (Linux)Authentication toke…AADSTS50126 — AADSTS50126: Error validating credentials due to invalid username or password (Azure)AADSTS50126UNABLE_TO_VERIFY_LEAF_SIGNATURE — Node.js: Error: unable to verify the first certificate (code: UNABLE_TO_VERIFY_LEAF_SIGNATURE) (SSL / TLS)UNABLE_TO_VERIFY_LE…SSL routines: wrong version number — OpenSSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number (SSL / TLS)SSL routines: wrong…Timeout during connect (likely firewall problem) — Let's Encrypt: Fetching http://example.com/.well-known/acme-challenge/token: Timeout during connect (likely firewall problem) (SSL / TLS)Timeout during conn…Bad configuration option: usekeychain — ssh: /Users/me/.ssh/config: line 5: Bad configuration option: usekeychain (macOS)Bad configuration o…ssh-agent: keys lost after reboot / passphrase asked every time — macOS: Enter passphrase for key '/Users/me/.ssh/id_ed25519': (every time after restart) (macOS)ssh-agent: keys los…Pushes use the wrong GitHub account / key (multiple SSH keys) — ERROR: Permission to org/repo.git denied to other-user. (Git)Pushes use the wron…MongoDB Atlas: connection timed out — IP not whitelisted — 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 (MongoDB)MongoDB Atlas: conn…Atlas: bad auth: Authentication failed — MongoServerError: bad auth : Authentication failed. (Atlas user / special characters in password) (MongoDB)Atlas: bad auth: Au…MongoServerError: not authorized on db to execute command — MongoServerError: command find requires authentication / not authorized on mydb to execute command { find: "users" } (MongoDB)MongoServerError: n…Authentication failed — fatal: Authentication failed for 'https://github.com/x/y.git/' (Git)Authentication fail…password auth removed — remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. (Git)password auth remov…The agent has no identities / Could not open a connection to your authentication agent — Could not open a connection to your authentication agent. (Git)The agent has no id…is damaged and can’t be opened — macOS: “App” is damaged and can’t be opened. You should move it to the Trash. (macOS)is damaged and can’…Homebrew Cask: It seems there is already an App at — Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app' (macOS)Homebrew Cask: It s…zsh: bad CPU type in executable — macOS (Apple Silicon): zsh: bad CPU type in executable: ./tool (macOS)zsh: bad CPU type i…kex_exchange_identification — kex_exchange_identification: Connection closed by remote host (Git)kex_exchange_identi…git: 'credential-osxkeychain' is not a git command — Git: git: 'credential-osxkeychain' is not a git command. See 'git --help' (macOS)git: 'credential-os…bad decrypt — openssl: bad decrypt / Could not read private key — wrong passphrase or cipher (SSL / TLS)bad decryptThe specified item could not be found in the keychain (-25300) — macOS: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. (errSecItemNotFound -25300) (macOS)The specified item …4-way handshake timeout / Incorrect password — Networking: wlan0: WPA: 4-way handshake failed - pre-shared key may be incorrect / WRONG_KEY (Networking)4-way handshake tim…git-credential-wincred is removed (use manager) — warning: credential.helper wincred removed in Git for Windows (Git)git-credential-winc…Could not find credentials entry — Jenkins: ERROR: Could not find credentials entry with ID 'github-token' (CI/CD)Could not find cred…Git doesn't detect file rename that only changes case — (behavior) git status shows nothing after renaming File.js to file.js (Git)Git doesn't detect …fatal: No names found, cannot describe anything / No tags can describe — fatal: No names found, cannot describe anything. (Git)fatal: No names fou…AWS_CA_BUNDLE — AWS CLI/SDK: SSL validation failed for https://... certificate verify failed (custom CA bundle / proxy) (SSL / TLS)AWS_CA_BUNDLEResource protected by organization SAML enforcement — remote: Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization. (Git)Resource protected …remote: HTTP Basic: Access denied (GitLab) — remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled (Git)remote: HTTP Basic:…

Directly related (12)

Setting locale failedLinux

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.

REMOTE HOST IDENTIFICATION HAS CHANGEDLinux

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…

Too many authentication failuresLinux

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).

wrong version numberSSL / TLS

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 failedLinux

channel 2: open failed: administratively prohibited: open failed

The server disallows TCP forwarding.

Auth enabled: first user cannot be created (localhost exception)MongoDB

Command createUser requires authentication

Once auth is on and users exist, you must log in to create users.

git: 'credential-manager' is not a git commandGit

git: 'credential-manager-core' is not a git command. See 'git --help'.

The configured credential helper isn't installed.

launchd: Service exited with abnormal code / throttling respawnmacOS

com.example.agent[1234]: Service exited with abnormal code: 1 / throttling respawn: Will start in 10 seconds

A LaunchAgent crashes and launchd restarts it.

SSH asks for passphrase on every git pushGit

Enter passphrase for key '/home/user/.ssh/id_ed25519':

The key isn't cached in an agent, so each use prompts.

Git keeps using an old password (macOS Keychain / Windows Credential Manager)Git

remote: Invalid username or password (cached credentials)

A stored credential is outdated but keeps being sent.

fatal: could not read Username: terminal prompts disabledGit

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: HTTP 401: Bad credentialsGit

gh: Bad credentials (HTTP 401) / error validating token: HTTP 401

The GitHub CLI token is invalid or expired.

Two steps away (36)

command not foundLinux

bash: command not found

The shell can’t find an executable with that name in any directory on your PATH.

ssh port 22 Connection refusedLinux

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 port 22 Connection timed outLinux

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.

publickeyGit

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 failedGit

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.

UNPROTECTED PRIVATE KEY FILELinux

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 pipeLinux

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.

Authentication token manipulation errorLinux

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…

AADSTS50126Azure

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…

UNABLE_TO_VERIFY_LEAF_SIGNATURESSL / TLS

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.

SSL routines: wrong version numberSSL / TLS

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.

Timeout during connect (likely firewall problem)SSL / TLS

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.

Bad configuration option: usekeychainmacOS

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.

ssh-agent: keys lost after reboot / passphrase asked every timemacOS

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.

Pushes use the wrong GitHub account / key (multiple SSH keys)Git

ERROR: Permission to org/repo.git denied to other-user.

SSH offers the wrong key, so GitHub sees another account.

MongoDB Atlas: connection timed out — IP not whitelistedMongoDB

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.

Atlas: bad auth: Authentication failedMongoDB

MongoServerError: bad auth : Authentication failed. (Atlas user / special characters in password)

Atlas rejected the username/password in the connection string.

MongoServerError: not authorized on db to execute commandMongoDB

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.

Authentication failedGit

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.

password auth removedGit

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.

The agent has no identities / Could not open a connection to your authentication agentGit

Could not open a connection to your authentication agent.

ssh-agent isn't running or has no key loaded.

is damaged and can’t be openedmacOS

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 Cask: It seems there is already an App atmacOS

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).

zsh: bad CPU type in executablemacOS

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_identificationGit

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: 'credential-osxkeychain' is not a git commandmacOS

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.

bad decryptSSL / TLS

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.

The specified item could not be found in the keychain (-25300)macOS

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.

4-way handshake timeout / Incorrect passwordNetworking

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.

git-credential-wincred is removed (use manager)Git

warning: credential.helper wincred removed in Git for Windows

Git for Windows removed the old wincred helper.

Could not find credentials entryCI/CD

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.

Git doesn't detect file rename that only changes caseGit

(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 / No tags can describeGit

fatal: No names found, cannot describe anything.

`git describe` can't find a tag in the available history.

AWS_CA_BUNDLESSL / TLS

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.

Resource protected by organization SAML enforcementGit

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 (GitLab)Git

remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled

GitLab rejected your HTTPS login.