Error map

Pushes use the wrong GitHub account / key (multiple SSH keys) ERROR: Permission to org/repo.git denied to other-user.

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.

Pushes use the wrong GitHub account / key (multiple SSH keys) — ERROR: Permission to org/repo.git denied to other-user. (Git)Pushes use …publickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyUse 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…channel 2: open failed: administratively prohibited: open failed — channel 2: open failed: administratively prohibited: open failed (Linux)channel 2: open fai…fatal: bad config line 5 in file .git/config — fatal: bad config line 12 in file /home/user/.gitconfig (Git)fatal: bad config l…fatal: could not open .git-blame-ignore-revs — fatal: invalid object name 'abc...' in ignore-revs-file (Git)fatal: could not op…Unable to negotiate: no matching host key type found. Their offer: ssh-rsa — Unable to negotiate with 192.168.1.1 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss (Linux)Unable to negotiate…Key is already in use (GitHub deploy key) — Error: Key is already in use (Git)Key is already in u…error: could not lock config file .git/config: File exists — error: could not lock config file /home/user/.gitconfig: File exists (Git)error: could not lo…error: key does not contain a section — error: key does not contain a section: user (Git)error: key does not…fatal: bad boolean config value 'x' for 'core.autocrlf' — fatal: bad boolean config value 'yes please' for 'core.filemode' (Git)fatal: bad boolean …hint: You have divergent branches and need to specify how to reconcile them (pull.rebase) — hint: Pulling without specifying how to reconcile divergent branches is discouraged. (Git)hint: You have dive…ERROR: The key you are authenticating with has been marked as read only — ERROR: The key you are authenticating with has been marked as read only. fatal: Could not read from remote repository. (Git)ERROR: The key you …non-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)EACCESHost key verification failed — Host key verification failed. fatal: Could not read from remote repository. (Git)Host key verificati…port 22 timed out — ssh: connect to host github.com port 22: Connection timed out (Git)port 22 timed outkex_exchange_identification — kex_exchange_identification: Connection closed by remote host (Git)kex_exchange_identi…ssh port 22 Connection refused — ssh: connect to host x port 22: Connection refused (Linux)ssh port 22 Connect…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…author identity unknown — Author identity unknown *** Please tell me who you are. (Git)author identity unk…error: There was a problem with the editor 'vi' — error: There was a problem with the editor 'vi'. Please supply the message using either -m or -F option. (Git)error: There was a …git: 'credential-manager' is not a git command — git: 'credential-manager-core' is not a git command. See 'git --help'. (Git)git: 'credential-ma…unrelated histories — Git: fatal: refusing to merge unrelated histories (Git)unrelated historiesnot a valid object name — fatal: Not a valid object name: 'main'. (Git)not a valid object …no "ssl_certificate" is defined for the "listen ... ssl" directive — Nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/sites-enabled/default:3 (SSL / TLS)no "ssl_certificate…ssh port 22 Connection timed out — ssh: connect to host x port 22: Connection timed out (Linux)ssh port 22 Connect…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…Commit shows Unverified on GitHub — (behavior) Unverified badge: the email in this signature doesn't match the committer (Git)Commit shows Unveri…Resource 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 …batch response: This repository is over its data quota — batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs (Git)batch response: Thi…lock — Certbot: Another instance of Certbot is already running (SSL / TLS)lockfatal: unable to get credential storage lock — fatal: unable to get credential storage lock in 1000 ms: File exists (Git)fatal: unable to ge…error: gpg.ssh.allowedSignersFile needs to be configured — error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification (Git)error: gpg.ssh.allo…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…git ignores NO_PROXY / proxy for specific host — fatal: unable to access: Could not resolve proxy: proxy.corp.example.com (Git)git ignores NO_PROX…error: unknown option 'x' / unknown switch — error: unknown option `no-edit' usage: git rebase [-i] [options] (Git)error: unknown opti…SSLCertificateFile: file does not exist — Apache: AH02240: Server should be SSL-aware but has no certificate configured / SSLCertificateFile: file '/etc/ssl/x.crt' does not exist or is empty (SSL / TLS)SSLCertificateFile:…openssl.cnf — OpenSSL: Can't open openssl.cnf for reading / error loading config file (SSL / TLS)openssl.cnfssl_ciphers — nginx: [emerg] SSL_CTX_set_cipher_list("...") failed — invalid ssl_ciphers string (SSL / TLS)ssl_ciphersdivergent branches — hint: You have divergent branches and need to specify how to reconcile them. (Git)divergent branchesRebase stopped: CONFLICT (content), resolve then git rebase --continue — Resolve all conflicts manually, mark them as resolved with "git add/rm <conflicted_files>", then run "git rebase --continue". (Git)Rebase stopped: CON…fatal: No rebase in progress? — fatal: No rebase in progress? (Git)fatal: No rebase in…GH007: Your push would publish a private email address — remote: error: GH007: Your push would publish a private email address. You can make your email public or disable this protection by visiting: https://github.com/settings/emails (Git)GH007: Your push wo…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 …EXT4-fs error: Remounting filesystem read-only — EXT4-fs (sda1): Remounting filesystem read-only / blk_update_request: I/O error (Linux)EXT4-fs error: Remo…

Directly related (12)

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.

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.

channel 2: open failed: administratively prohibited: open failedLinux

channel 2: open failed: administratively prohibited: open failed

The server disallows TCP forwarding.

fatal: bad config line 5 in file .git/configGit

fatal: bad config line 12 in file /home/user/.gitconfig

A Git config file has invalid syntax.

fatal: could not open .git-blame-ignore-revsGit

fatal: invalid object name 'abc...' in ignore-revs-file

git blame can't read the ignore-revs file or a hash in it is invalid.

Unable to negotiate: no matching host key type found. Their offer: ssh-rsaLinux

Unable to negotiate with 192.168.1.1 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

Your OpenSSH disabled legacy algorithms the old server uses.

Key is already in use (GitHub deploy key)Git

Error: Key is already in use

GitHub allows a deploy key on only one repository.

error: could not lock config file .git/config: File existsGit

error: could not lock config file /home/user/.gitconfig: File exists

A stale config lock blocks writes.

error: key does not contain a sectionGit

error: key does not contain a section: user

`git config` needs `section.name`.

fatal: bad boolean config value 'x' for 'core.autocrlf'Git

fatal: bad boolean config value 'yes please' for 'core.filemode'

A boolean Git setting has an invalid value.

hint: You have divergent branches and need to specify how to reconcile them (pull.rebase)Git

hint: Pulling without specifying how to reconcile divergent branches is discouraged.

Git asks you to choose merge or rebase when pulling diverged branches.

ERROR: The key you are authenticating with has been marked as read onlyGit

ERROR: The key you are authenticating with has been marked as read only. fatal: Could not read from remote repository.

A read-only deploy key can't push.

Two steps away (36)

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.

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.

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

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.

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…

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

author identity unknownGit

Author identity unknown *** Please tell me who you are.

Git doesn’t know your name and email for commits.

error: There was a problem with the editor 'vi'Git

error: There was a problem with the editor 'vi'. Please supply the message using either -m or -F option.

Git couldn't open your configured editor to collect a message or todo list.

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.

unrelated historiesGit

Git: fatal: refusing to merge unrelated histories

The two branches have no common ancestor — typically a local repo and a remote that were both initialized separately.

not a valid object nameGit

fatal: Not a valid object name: 'main'.

The branch or commit doesn’t exist yet — typically in a new repo before the first commit.

no "ssl_certificate" is defined for the "listen ... ssl" directiveSSL / TLS

Nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/sites-enabled/default:3

A server block listens with `ssl` but has no `ssl_certificate` and `ssl_certificate_key`.

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.

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.

Commit shows Unverified on GitHubGit

(behavior) Unverified badge: the email in this signature doesn't match the committer

GitHub can't verify the commit signature.

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.

batch response: This repository is over its data quotaGit

batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs

GitHub LFS storage or bandwidth quota is used up.

lockSSL / TLS

Certbot: Another instance of Certbot is already running

A previous certbot process (or cron/systemd timer) holds the lock file, so a new run refuses to start.

fatal: unable to get credential storage lockGit

fatal: unable to get credential storage lock in 1000 ms: File exists

Git Credential Manager is locked by a stale process.

error: gpg.ssh.allowedSignersFile needs to be configuredGit

error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification

Git can sign with SSH, but verifying needs an allowed-signers file.

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.

git ignores NO_PROXY / proxy for specific hostGit

fatal: unable to access: Could not resolve proxy: proxy.corp.example.com

Git is configured with a proxy that can't be resolved or shouldn't apply.

error: unknown option 'x' / unknown switchGit

error: unknown option `no-edit' usage: git rebase [-i] [options]

A flag isn't supported by this Git command or version.

SSLCertificateFile: file does not existSSL / TLS

Apache: AH02240: Server should be SSL-aware but has no certificate configured / SSLCertificateFile: file '/etc/ssl/x.crt' does not exist or is empty

Apache cannot find the certificate or key file named in its configuration, or `SSLEngine on` is set without any certificate.

openssl.cnfSSL / TLS

OpenSSL: Can't open openssl.cnf for reading / error loading config file

OpenSSL can't find or parse its configuration file, so `req`, `ca` or `x509` commands abort.

ssl_ciphersSSL / TLS

nginx: [emerg] SSL_CTX_set_cipher_list("...") failed — invalid ssl_ciphers string

The `ssl_ciphers` value contains a cipher or syntax OpenSSL doesn't accept, so nginx won't load the config.

divergent branchesGit

hint: You have divergent branches and need to specify how to reconcile them.

Git 2.27+ asks you to choose merge, rebase or fast-forward-only when local and remote both have new commits.

Rebase stopped: CONFLICT (content), resolve then git rebase --continueGit

Resolve all conflicts manually, mark them as resolved with "git add/rm <conflicted_files>", then run "git rebase --continue".

A commit being replayed conflicts with the new base.

fatal: No rebase in progress?Git

fatal: No rebase in progress?

You ran `git rebase --continue` or `--abort` when no rebase is active.

GH007: Your push would publish a private email addressGit

remote: error: GH007: Your push would publish a private email address. You can make your email public or disable this protection by visiting: https://github.com/settings/emails

GitHub blocks pushes whose commits use your private email.

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.

EXT4-fs error: Remounting filesystem read-onlyLinux

EXT4-fs (sda1): Remounting filesystem read-only / blk_update_request: I/O error

The kernel flipped the disk to read-only after errors.