1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/content/authentication/troubleshooting-ssh/error-permission-to-userrepo-denied-to-userother-repo.md
Laura Coursen 8f964ea2cb GHEC version (#20947)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-10-15 15:41:33 -05:00

1021 B

title, intro, redirect_from, versions, topics, shortTitle
title intro redirect_from versions topics shortTitle
Error: Permission to user/repo denied to user/other-repo This error means the key you are pushing with is attached to another repository as a deploy key, and does not have access to the repository you are trying to push to.
/articles/error-permission-to-user-repo-denied-to-user-other-repo
/articles/error-permission-to-userrepo-denied-to-userother-repo
/github/authenticating-to-github/error-permission-to-userrepo-denied-to-userother-repo
/github/authenticating-to-github/troubleshooting-ssh/error-permission-to-userrepo-denied-to-userother-repo
fpt ghes ghae ghec
* * * *
SSH
Permission denied other-repo

To fix this, remove the deploy key from the repository, and add the key to your user account instead.

If the key you are using is intended to be a deploy key, check out our guide on deploy keys for more details.