Michael,
To continue this post about the IPFire git server: https://bugzilla.ipfire.org/show_bug.cgi?id=13254#c147
I want to use the git server but I do not think I have access. I see errors like this: ``` Connection closed by 81.3.27.45 port 22 fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. ```
And with FileZilla I access `people.ipfire.org` and I can read and write files.
But I cannot access `git.ipfire.org`. I get this error:
Do I need access to `git.ipfire.org` to access the ipfire git server?
Best regards, Jon
Hello Jon,
On 26 Jun 2024, at 16:53, jon jon.murphy@ipfire.org wrote:
Michael,
To continue this post about the IPFire git server: https://bugzilla.ipfire.org/show_bug.cgi?id=13254#c147
I want to use the git server but I do not think I have access. I see errors like this:
Connection closed by 81.3.27.45 port 22 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
There isn’t really a Git server. The repositories are spread across the infrastructure.
And with FileZilla I access `people.ipfire.org` and I can read and write files.
This is correct as this is the only server that has public SSH access (for now).
But I cannot access `git.ipfire.org`. I get this error:
<cf41574361421163b5f17ad4fa324c2e1cb8a16b_2_1380x416.png>
Do I need access to `git.ipfire.org` to access the ipfire git server?
No, this is mainly the web UI to browse the repositories as well as access to the repositories using HTTPS and the Git protocol.
I have created a Git repository for you here:
https://git.ipfire.org/?p=people/jon/ipfire-2.x.git;a=summary
At the top of the page you will find a few ways how to access the repository:
git://git.ipfire.org/people/jon/ipfire-2.x.git https://git.ipfire.org/pub/git/people/jon/ipfire-2.x.git ssh://people.ipfire.org/pub/git/people/jon/ipfire-2.x.git
Git and HTTPS are read-only and SSH is the only way to write to your repository.
You can add this to your local repository like so and then push your changes to it:
git remote add jon ssh://jon@people.ipfire.org/pub/git/people/jon/ipfire-2.x.git git push jon my-branch
Let me know if this worked.
Best, -Michael
Best regards, Jon