-
Notifications
You must be signed in to change notification settings - Fork 5
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
Permission denied (publickey). #57
Comments
Hello @xplosionmind Thank you for using forgejo through yunohost. Could you explain why you add the |
Hi @grosmanal! It is truly my pleasure!
I was erroneously following gitea_ynh SSH configuration guide. Still, I get the same error even after deleting this line! (I also restarted sshd service, of course)
Content of my
Is it correct? In the GUI: |
Yes it seems correct. When you've submitted this issue, you've joined the result of Without the
|
|
I'm sorry but I don't really know what to do…
|
|
Maybe we could ask for somebody else’s help 😢 |
I think so because imho it is not a problem about forgejo but about your ssh config. |
I am using my ssh remote access and management perfectly. Everything is working. Since it works also with Codeberg and GitHub, the potential ssh config problem is server-side, not in the local device. |
I can see in your That's probably why you cannot connect to your server with
|
Damn, this error is driving us mad. I changed all the parameters as you told me, and I still cannot access. |
I don't have idea anymore. |
I got a lead, here is the sshd logs:
sshd is not trying to read the right authorized_keys. Indeed |
Hello, I am getting crazy with this issue, and I cannot seem to be able to fix in any way.
I would like to manage all of my repositories via SSH. My configuration works perfectly both with GitHub and Codeberg.
Nevertheless, when I try to push to my self-hosted Forgejo instance, I get this error:
The SSH key is successfully added and verified in Forgejo’s GUI.
The fact that the banner of my remote YunoHost server appears means that the connection with the server itself works fine. Apparently, the problem is with Forgejo.
Information
ssh -vvv git@gitmi.dev
(for security reasons, I replaced the ssh port with***HIDDEN***
. Even if hidden, it is the correct one, since access is successful)/etc/yunohost/apps/forgejo/conf/app.ini
/etc/ssh/sshd_config
(NOTE in particular lines 56-58)The text was updated successfully, but these errors were encountered: