Skip to content
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

Error id_rsa.pub keys after add in web interface #32666

Open
yoloswagginsman opened this issue Nov 28, 2024 · 1 comment
Open

Error id_rsa.pub keys after add in web interface #32666

yoloswagginsman opened this issue Nov 28, 2024 · 1 comment
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail

Comments

@yoloswagginsman
Copy link

Description

Hello! After adding the public key in the web interface, remote access breaks down...

Errors:
Gitea: Invalid repo name Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Fix:
image (6)

The ssh-rsa string should be at the top (And she falls down and doesn't work after that)

Gitea Version

1.22.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image (6)

Git Version

1.22.2

Operating System

Install with docker on Ubuntu

How are you running Gitea?

run from docker

https://hub.docker.com/r/gitea/gitea

Database

None

@wxiaoguang
Copy link
Contributor

No, it shouldn't be "at the top".

The correct data/git/.ssh/authorized_keys file looks like this:

image

@wxiaoguang wxiaoguang added issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail and removed type/bug labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail
Projects
None yet
Development

No branches or pull requests

2 participants