-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with multiple ssh keys #33762
Comments
Can you run git -vvv to find the permission deny reason? |
Unfortunately |
Running "Update the '.ssh/authorized_keys' file with Gitea SSH keys." Caused keys to be switched again. |
Sorry, it should be |
Facing the same issue (v1.23.4). Here's the output for
|
The issue solved itself for me. My initial assumption that running "Update the '.ssh/authorized_keys' file with Gitea SSH keys." switched keys was wrong. |
How did you resolve the problem? Is this a bug of Gitea or could you share your workaround? |
My workaround was to go to "Site Administration" and click "Run" next to "Update the '.ssh/authorized_keys' file with Gitea SSH keys.". I'm afraid that adding third key would break things for me again. |
tried this and it doesn't work for me |
Description
I can't pull from gitea. The error is:
But this is not same problem as in FAQ.
I've got 2 ssh public keys for 2 computers for single user. Only second key works, first one gives me the error.
Of course I tried removing and adding this currently-not-working key again, I verified it. Then it works but the other key stops - same symptoms.
I deployed gitea with docker image "gitea/gitea". Entire configuration was done by Web UI.
Logs from gitea when there is a failure:
Repo has remote set with url
ssh://git@domain:917/UserName/repo.git
for fetch and push. As mentioned before - it works only with "last" key.Gitea Version
1.23.4
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Archlinux/docker
How are you running Gitea?
docker-compose part for gitea:
Frontend for Web UI is nginx outside of docker.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: