Error map

SSH asks for passphrase on every git push Enter passphrase for key '/home/user/.ssh/id_ed25519':

Git · layer 7, Build & delivery

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.

SSH asks for passphrase on every git push — Enter passphrase for key '/home/user/.ssh/id_ed25519': (Git)SSH asks fo…kex_exchange_identification — kex_exchange_identification: Connection closed by remote host (Git)kex_exchange_identi…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…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…Bad configuration option: usekeychain — ssh: /Users/me/.ssh/config: line 5: Bad configuration option: usekeychain (macOS)Bad configuration o…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 decryptUse SSH over port 443 when port 22 is blocked — ssh: connect to host github.com port 22: Connection refused (Git)Use SSH over port 4…fatal: Interactive git shell is not enabled — fatal: Interactive git shell is not enabled. hint: ~/git-shell-commands should exist and be executable. (Git)fatal: Interactive …Received disconnect: Too many authentication failures — Received disconnect from host port 22:2: Too many authentication failures (Linux)Received disconnect…channel 2: open failed: administratively prohibited: open failed — channel 2: open failed: administratively prohibited: open failed (Linux)channel 2: open fai…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…407 — HTTP 407 Proxy Authentication Required (HTTP)407408 — HTTP 408 Request Timeout (HTTP)408ETIMEDOUT — API Request Timed Out (ETIMEDOUT / ReadTimeout / timeout of 30000ms exceeded) (API)ETIMEDOUTnon-fast-forward — Git: ! [rejected] … (fetch first) — error: failed to push some refs (Git)non-fast-forwardnot a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositoryEACCES — Linux: Permission denied (Linux)EACCESAADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016401 — HTTP 401 Unauthorized (HTTP)401TokenExpiredError — JWT Expired / Invalid Token (Authentication)TokenExpiredErrorport 22 timed out — ssh: connect to host github.com port 22: Connection timed out (Git)port 22 timed outssh 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…Too many authentication failures — Received disconnect: Too many authentication failures (Linux)Too many authentica…client_loop: send disconnect: Broken pipe — client_loop: send disconnect: Broken pipe (SSH session drops when idle) (Linux)client_loop: send d…Setting locale failed — perl: warning: Setting locale failed / bash: warning: setlocale: LC_ALL: cannot change locale (Linux)Setting locale fail…Authentication failed — fatal: Authentication failed for 'https://github.com/x/y.git/' (Git)Authentication fail…npm git dependency error — npm ERR! code 128 — An unknown git error occurred (git dependency install) (npm)npm git dependency …Your Command Line Tools are too outdated — Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS (macOS)Your Command Line T…unable to get local issuer certificate — OpenSSL: error:num=20:unable to get local issuer certificate / SSL: CERTIFICATE_VERIFY_FAILED (SSL / TLS)unable to get local…unable to load Private Key — OpenSSL/Nginx/Apache: error:0909006C:PEM routines:get_name:no start line / unable to load Private Key (SSL / TLS)unable to load Priv…PKCS12: Mac verify error: invalid password? — OpenSSL: Error outputting keys and certificates — Mac verify error: invalid password? (SSL / TLS)PKCS12: Mac verify …REMOTE HOST IDENTIFICATION HAS CHANGED — WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! (ssh host key changed) (Linux)REMOTE HOST IDENTIF…UNPROTECTED PRIVATE KEY FILE — WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open (Linux)UNPROTECTED PRIVATE…No route to host — connect: No route to host (EHOSTUNREACH) (Linux)No route to hostinternal error — tlsv1 alert internal error — the TLS peer hit an internal problem during the handshake (SSL / TLS)internal errorThe 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…Connection closed by remote host / Connection reset by peer on git push — Connection closed by 140.82.112.4 port 22 (Git)Connection closed b…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 numbergit: 'credential-manager' is not a git command — git: 'credential-manager-core' is not a git command. See 'git --help'. (Git)git: 'credential-ma…Git keeps using an old password (macOS Keychain / Windows Credential Manager) — remote: Invalid username or password (cached credentials) (Git)Git keeps using an …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…WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! — @@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@ Offending key in /home/user/.ssh/known_hosts:12 (Git)WARNING: REMOTE HOS…fatal: clone of 'url' into submodule path failed — fatal: clone of 'git@github.com:org/lib.git' into submodule path '/repo/lib' failed Failed to clone 'lib'. Retry scheduled (Git)fatal: clone of 'ur…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…

Directly related (12)

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.

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.

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.

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.

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.

Use SSH over port 443 when port 22 is blockedGit

ssh: connect to host github.com port 22: Connection refused

Port 22 is blocked, but GitHub offers SSH on 443.

fatal: Interactive git shell is not enabledGit

fatal: Interactive git shell is not enabled. hint: ~/git-shell-commands should exist and be executable.

You SSH'd to a git-shell-only account.

Received disconnect: Too many authentication failuresLinux

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

The ssh-agent offered too many keys before the right one.

channel 2: open failed: administratively prohibited: open failedLinux

channel 2: open failed: administratively prohibited: open failed

The server disallows TCP forwarding.

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.

Two steps away (36)

407HTTP

HTTP 407 Proxy Authentication Required

A proxy between you and the server requires credentials before it will forward your request.

408HTTP

HTTP 408 Request Timeout

The server closed the connection because the client took too long to send the complete request.

ETIMEDOUTAPI

API Request Timed Out (ETIMEDOUT / ReadTimeout / timeout of 30000ms exceeded)

The client gave up waiting — either for the connection to open or for the response to arrive.

non-fast-forwardGit

Git: ! [rejected] … (fetch first) — error: failed to push some refs

The remote branch has commits you don’t have locally, so Git refuses to overwrite them. Pull (merge or rebase) first, then push.

not a git repositoryGit

fatal: not a git repository (or any of the parent directories): .git

You ran a Git command outside a Git working tree.

EACCESLinux

Linux: Permission denied

Your user (or the service user) lacks read/write/execute permission on a file, directory or one of its parents.

AADSTS700016Azure

Azure AD (Entra ID): AADSTS700016 Application not found in the directory

The client ID in your sign-in request doesn’t exist in the tenant you’re authenticating against.

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

TokenExpiredErrorAuthentication

JWT Expired / Invalid Token

The JSON Web Token sent with the request is expired, malformed or signed with a different key, so the API rejects it (usually wit…

port 22 timed outGit

ssh: connect to host github.com port 22: Connection timed out

Outbound SSH on port 22 is blocked (firewall, corporate or public Wi-Fi).

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.

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

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.

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.

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.

npm git dependency errornpm

npm ERR! code 128 — An unknown git error occurred (git dependency install)

npm failed to fetch a dependency that points to a Git repository.

Your Command Line Tools are too outdatedmacOS

Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS

Homebrew requires a newer Command Line Tools version than the one installed.

unable to get local issuer certificateSSL / TLS

OpenSSL: error:num=20:unable to get local issuer certificate / SSL: CERTIFICATE_VERIFY_FAILED

The client could not build a chain from the server's certificate to a CA it trusts — the issuer is missing locally or the server…

unable to load Private KeySSL / TLS

OpenSSL/Nginx/Apache: error:0909006C:PEM routines:get_name:no start line / unable to load Private Key

The server or tool cannot read the private key file — wrong format, encrypted with a passphrase, wrong path, or a certificate pas…

PKCS12: Mac verify error: invalid password?SSL / TLS

OpenSSL: Error outputting keys and certificates — Mac verify error: invalid password?

A `.p12`/`.pfx` file could not be opened because the password is wrong, or its encryption is unsupported by your OpenSSL version.

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…

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

No route to hostLinux

connect: No route to host (EHOSTUNREACH)

The destination host isn’t reachable — it’s down, on another subnet without routing, or a firewall rejects with “host unreachable…

internal errorSSL / TLS

tlsv1 alert internal error — the TLS peer hit an internal problem during the handshake

The server sent alert 80, usually because its TLS configuration is broken or it can't pick a certificate.

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.

Connection closed by remote host / Connection reset by peer on git pushGit

Connection closed by 140.82.112.4 port 22

The Git server closed the SSH connection.

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.

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.

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.

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.

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!Git

@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@ Offending key in /home/user/.ssh/known_hosts:12

The server's host key doesn't match what you saved earlier.

fatal: clone of 'url' into submodule path failedGit

fatal: clone of 'git@github.com:org/lib.git' into submodule path '/repo/lib' failed Failed to clone 'lib'. Retry scheduled

Git couldn't clone a submodule on update.

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