Error map

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

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 …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…Use 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 …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…channel 2: open failed: administratively prohibited: open failed — channel 2: open failed: administratively prohibited: open failed (Linux)channel 2: open fai…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…Commit shows Unverified on GitHub — (behavior) Unverified badge: the email in this signature doesn't match the committer (Git)Commit shows Unveri…Key is already in use (GitHub deploy key) — Error: Key is already in use (Git)Key is already in u…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…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…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…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…UNPROTECTED PRIVATE KEY FILE — WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open (Linux)UNPROTECTED PRIVATE…Read-only file system — Read-only file system (EROFS) — cannot write to disk (Linux)Read-only file syst…Volume failed to unmount / disk not ejected because in use — macOS: diskutil: Unmount of disk2s1 failed: at least one volume could not be unmounted / The disk wasn't ejected because one or more programs may be using it (macOS)Volume failed to un…error: Unpack failed / remote unpack failed: unable to create temporary object directory — remote: error: unable to create temporary object directory (Git)error: Unpack faile…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…Bad configuration option: usekeychain — ssh: /Users/me/.ssh/config: line 5: Bad configuration option: usekeychain (macOS)Bad configuration o…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…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…author identity unknown — Author identity unknown *** Please tell me who you are. (Git)author identity unk…gpg failed to sign — error: gpg failed to sign the data — fatal: failed to write commit object (Git)gpg failed to signcodesign: resource fork, Finder information, or similar detritus not allowed — macOS: Error: resource fork, Finder information, or similar detritus not allowed (macOS)codesign: resource …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 …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…scp: Received message too long / subsystem request failed on channel 0 — subsystem request failed on channel 0 scp: Connection closed (Linux)scp: Received messa…LFS smudge error — Error downloading object: x: Smudge error / This repository is over its data quota (Git)LFS smudge errorGH013: Push cannot contain secrets — remote: error: GH013: Repository rule violations found. - Push cannot contain secrets (Git)GH013: Push cannot …This branch has conflicts that must be resolved (GitHub) — This branch has conflicts that must be resolved Use the web editor or the command line to resolve conflicts (Git)This branch has con…Operation not permitted (macOS privacy) — macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection) (macOS)Operation not permi…Screen recording permission required — macOS: could not create image from display / "Terminal" would like to record this computer's screen / screencapture: cannot capture without permission (macOS)Screen recording pe…Camera/Microphone access denied (TCC) — macOS: avfoundation: Could not start capture / "Terminal" does not have access to the camera or microphone — tccd denied (macOS)Camera/Microphone a…

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.

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.

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.

channel 2: open failed: administratively prohibited: open failedLinux

channel 2: open failed: administratively prohibited: open failed

The server disallows TCP forwarding.

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.

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.

Key is already in use (GitHub deploy key)Git

Error: Key is already in use

GitHub allows a deploy key on only one repository.

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.

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.

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.

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

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

Read-only file systemLinux

Read-only file system (EROFS) — cannot write to disk

The filesystem is mounted read-only — often because the kernel remounted it after detecting disk errors.

Volume failed to unmount / disk not ejected because in usemacOS

macOS: diskutil: Unmount of disk2s1 failed: at least one volume could not be unmounted / The disk wasn't ejected because one or more programs may be using it

macOS can't eject a drive because a process still has files open on it.

error: Unpack failed / remote unpack failed: unable to create temporary object directoryGit

remote: error: unable to create temporary object directory

The server couldn't store the pushed objects.

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.

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.

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.

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.

author identity unknownGit

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

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

gpg failed to signGit

error: gpg failed to sign the data — fatal: failed to write commit object

Commit signing is enabled but GPG couldn’t sign — no TTY for the passphrase, wrong key, or agent not running.

codesign: resource fork, Finder information, or similar detritus not allowedmacOS

macOS: Error: resource fork, Finder information, or similar detritus not allowed

`codesign` refuses to sign a bundle that contains extended attributes (resource forks, quarantine, FinderInfo).

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.

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.

scp: Received message too long / subsystem request failed on channel 0Linux

subsystem request failed on channel 0 scp: Connection closed

scp/sftp can't start on the server.

LFS smudge errorGit

Error downloading object: x: Smudge error / This repository is over its data quota

Git LFS couldn’t download a large file — missing LFS install, auth problems, or the LFS bandwidth/storage quota is exhausted.

GH013: Push cannot contain secretsGit

remote: error: GH013: Repository rule violations found. - Push cannot contain secrets

GitHub blocked the push because a commit contains a detected secret.

This branch has conflicts that must be resolved (GitHub)Git

This branch has conflicts that must be resolved Use the web editor or the command line to resolve conflicts

GitHub can't merge the pull request automatically.

Operation not permitted (macOS privacy)macOS

macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection)

macOS privacy protection (TCC) blocked access to protected folders (Desktop, Documents, Downloads, Mail, Photos, external volumes…

Screen recording permission requiredmacOS

macOS: could not create image from display / "Terminal" would like to record this computer's screen / screencapture: cannot capture without permission

macOS blocks apps from capturing the screen unless you grant Screen Recording in Privacy settings.

Camera/Microphone access denied (TCC)macOS

macOS: avfoundation: Could not start capture / "Terminal" does not have access to the camera or microphone — tccd denied

Privacy (TCC) blocks the app or terminal from the camera or microphone until you allow it.