Jump to content

Gitea ssh-key problems


Recommended Posts

Hey guys, i updated a branch on my development fork. If i want to push the changes, ill have to enter my credentials even if i cloned it with my configured ssh key. Does anyone have the same problem ? And if i do that, than it will not accept it either.
Had the problem bot on fedora 41 and opensuse tumbleweed.

Link to comment
Share on other sites

  • 2 months later...

Hello its me again. Having troubles again with the lfs... So fetching from the main repository works with the suggestion from the .lfsconfig. But i can no longer update my fork, its always trying to push directly to the main 0ad repository... Any ideas why? Same problem on windows and linux and on a clean checkout. 
Also did try the suggestion from this thread, but the effect was that it would never update again from the main 0ad repo.

actual error: 

batch request: error::   0% (0/1), 0 B | 0 B/s                                                                                                                                                                                              
error: User: 1394:Cayleb-Ordo with Key: 34:Linux-PC is not authorized to write to 0ad/0ad.
error:: exit status 1


local git config:

 

core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=git@gitea.wildfiregames.com:Cayleb-Ordo/0ad.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.main.remote=origin
branch.main.merge=refs/heads/main
branch.main.vscode-merge-base=origin/main
remote.0ad-base.url=git@gitea.wildfiregames.com:0ad/0ad.git
remote.0ad-base.fetch=+refs/heads/*:refs/remotes/0ad-base/*
user.name=Cayleb-Ordo
branch.build-with-cmake.remote=origin
branch.build-with-cmake.merge=refs/heads/build-with-cmake
branch.build-with-cmake.vscode-merge-base=origin/build-with-cmake
lfs.repositoryformatversion=0
lfs.url=git@gitea.wildfiregames.com:0ad/0ad.git
branch.build-with-cmake-initial.remote=origin
branch.build-with-cmake-initial.merge=refs/heads/build-with-cmake-initial
branch.build-with-cmake-initial.vscode-merge-base=origin/build-with-cmake
lfs.https://gitea.wildfiregames.com/0ad/0ad.git.locksverify=false
lfs.https://gitea.wildfiregames.com/Cayleb-Ordo/0ad.git.locksverify=true
branch.build-with-cmake-backup.vscode-merge-base=origin/build-with-cmake



remote configuration:

0ad-base        git@gitea.wildfiregames.com:0ad/0ad.git (fetch)
0ad-base        git@gitea.wildfiregames.com:0ad/0ad.git (push)
origin  git@gitea.wildfiregames.com:Cayleb-Ordo/0ad.git (fetch)
origin  git@gitea.wildfiregames.com:Cayleb-Ordo/0ad.git (push)

 

Edited by Cayleb-Ordo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...