#138 Unable to push with ssh key

Closed
opened 5 months ago by rain1 · 3 comments
rain1 commented 5 months ago

Hello. I have not been able to git push using an ssh key for a while:

```Gogs: You do not have sufficient authorization for this action fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.```

I think that I have it set up right. Is anyone else having this problem?

Hello. I have not been able to git push using an ssh key for a while: ```Gogs: You do not have sufficient authorization for this action fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.``` I think that I have it set up right. Is anyone else having this problem?
zPlus commented 5 months ago

Which repository?

Can you check your ssh keys in your settings page? If the key is there, it should work...

Which repository? Can you check your ssh keys in your settings page? If the key is there, it should work...

I have checked the key we have on file in the database, it appears to be truncated. The md5sum of the 80 bytes I have on file is 4cf903cdd33ef8d124613c76999f0854

I can't tell you how this happened but I can tell you this is not a valid pubkey.

I have checked the key we have on file in the database, it appears to be truncated. The md5sum of the 80 bytes I have on file is 4cf903cdd33ef8d124613c76999f0854 I can't tell you how this happened but I can tell you this is not a valid pubkey.
zPlus commented 3 days ago

This issue should be closed because Gogs is working fine with SSH keys. @rain1 please reopen another issue if you still have problems, but I think is your key that is broken because I haven't heard anyone else having problems when pushing over SSH.

This issue should be closed because Gogs is working fine with SSH keys. @rain1 please reopen another issue if you still have problems, but I think is your key that is broken because I haven't heard anyone else having problems when pushing over SSH.
hp closed 3 days ago
Sign in to join this conversation.
No Milestone
No assignee
3 Participants
Loading...
Cancel
Save
There is no content yet.