-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Cloning over SSH won't work #1400
Comments
I think you can take a look your auth file to confirm your public key has been written to. |
Thanks for the quick response. It was indead some rest of gitlab. When I let gitea build the .ssh/authorized_keys file It destroys my ssh key that I need to connect to the server which is kind of bad ;) In that situation connecting via SSH shows the expected message that I'm authenticated but have no shell. Cloning works as well. I tried the following setting in my /custom/conf/app.ini: This won't work. ssh -v shows me that the authorization via the public key fails. |
|
well the Fortunately my hoster can write my public key into that file as well. This was my workflow now (all working just fine)
Now the |
@@for a normal use, we use user |
sounds reasonable with my hoster however I got only one user, therefore that's not possible. |
So maybe you can use different public key and It's strange that the latest Gitea should keep yourself public key when rewrite Gitea's. |
Hi, as I wrote above when my public key for the server (different from the public key for gitea) is in the authorized_keys file before I add ssh keys to gitea everything works fine. the rewrite button in the admin dashboard however kills the whole authorized_key file and only adds gitea ssh keys. |
1.1.0+75-g6a451a2 |
Closing as answered, please reopen if issue persists |
I faced this problem and resolve this.
|
git version 2.7.4
[x]
):Description
I just switched from Gitlab to Gitea and first I worked with the https links to clone/push my repositories which works just fine.
Then I generated a SSH Keyfile which I uploaded in the profile but now I get this error:
The log in the console gives me the following:
The text was updated successfully, but these errors were encountered: