* Re: Access to IPFire git server
[not found] <80D67200-FEBE-4C2C-8249-B138F9416EEA@ipfire.org>
@ 2024-07-03 10:31 ` Michael Tremer
0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2024-07-03 10:31 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1849 bytes --]
Hello Jon,
> On 26 Jun 2024, at 16:53, jon <jon.murphy(a)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(a)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
>
^ permalink raw reply [flat|nested] only message in thread