* Unable to 'git push' to /git/cygwin-packages/*
@ 2024-03-14 5:45 Mark Geisert
2024-03-14 9:42 ` Jon Turney
0 siblings, 1 reply; 8+ messages in thread
From: Mark Geisert @ 2024-03-14 5:45 UTC (permalink / raw)
To: cygwin-apps
Hi folks,
I'm getting the error:
fatal: remote error: service not enabled: /git/cygwin-packages/sshfs
when I attempt 'git push' to that repository. The same happens with all
the repositories for my packages. It's been this way for a couple days at
least.
Have I forgotten some step in the connection at my end? I'm running
ssh-agent.
Thanks for any advice,
..mark
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to 'git push' to /git/cygwin-packages/*
2024-03-14 5:45 Unable to 'git push' to /git/cygwin-packages/* Mark Geisert
@ 2024-03-14 9:42 ` Jon Turney
2024-03-14 15:39 ` Mark Geisert
0 siblings, 1 reply; 8+ messages in thread
From: Jon Turney @ 2024-03-14 9:42 UTC (permalink / raw)
To: Mark Geisert; +Cc: cygwin-apps
On 14/03/2024 05:45, Mark Geisert via Cygwin-apps wrote:
> Hi folks,
> I'm getting the error:
>
> fatal: remote error: service not enabled: /git/cygwin-packages/sshfs
>
> when I attempt 'git push' to that repository. The same happens with all
> the repositories for my packages. It's been this way for a couple days
> at least.
>
> Have I forgotten some step in the connection at my end? I'm running
> ssh-agent.
This is probably due to some recent changes made on sourceware.
Apologies for the inconvenience.
What is the repository URL you are trying to push to (git remote -v)?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to 'git push' to /git/cygwin-packages/*
2024-03-14 9:42 ` Jon Turney
@ 2024-03-14 15:39 ` Mark Geisert
2024-03-14 16:07 ` Jon Turney
0 siblings, 1 reply; 8+ messages in thread
From: Mark Geisert @ 2024-03-14 15:39 UTC (permalink / raw)
To: cygwin-apps
On 3/14/2024 2:42 AM, Jon Turney via Cygwin-apps wrote:
> On 14/03/2024 05:45, Mark Geisert via Cygwin-apps wrote:
>> Hi folks,
>> I'm getting the error:
>>
>> fatal: remote error: service not enabled: /git/cygwin-packages/sshfs
>>
>> when I attempt 'git push' to that repository. The same happens with
>> all the repositories for my packages. It's been this way for a couple
>> days at least.
>>
>> Have I forgotten some step in the connection at my end? I'm running
>> ssh-agent.
>
> This is probably due to some recent changes made on sourceware.
> Apologies for the inconvenience.
>
> What is the repository URL you are trying to push to (git remote -v)?
/usr/src/upstaging/sshfs git remote -v
origin git://cygwin.com/git/cygwin-packages/sshfs (fetch)
origin git://cygwin.com/git/cygwin-packages/sshfs (push)
and likewise for packages cygfuse, util-linux, inkscape.
Thanks much, Jon!
..mark
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to 'git push' to /git/cygwin-packages/*
2024-03-14 15:39 ` Mark Geisert
@ 2024-03-14 16:07 ` Jon Turney
2024-03-14 18:26 ` Corinna Vinschen
2024-03-15 9:00 ` Mark Geisert
0 siblings, 2 replies; 8+ messages in thread
From: Jon Turney @ 2024-03-14 16:07 UTC (permalink / raw)
To: Mark Geisert; +Cc: cygwin-apps
On 14/03/2024 15:39, Mark Geisert via Cygwin-apps wrote:
> On 3/14/2024 2:42 AM, Jon Turney via Cygwin-apps wrote:
>> On 14/03/2024 05:45, Mark Geisert via Cygwin-apps wrote:
>>> Hi folks,
>>> I'm getting the error:
>>>
>>> fatal: remote error: service not enabled: /git/cygwin-packages/sshfs
>>>
>>> when I attempt 'git push' to that repository. The same happens with
>>> all the repositories for my packages. It's been this way for a
>>> couple days at least.
>>>
>>> Have I forgotten some step in the connection at my end? I'm running
>>> ssh-agent.
>>
>> This is probably due to some recent changes made on sourceware.
>> Apologies for the inconvenience.
I forget to ask when was the last time this worked for you, so maybe
assuming this is related is premature.
>> What is the repository URL you are trying to push to (git remote -v)?
>
> /usr/src/upstaging/sshfs git remote -v
> origin git://cygwin.com/git/cygwin-packages/sshfs (fetch)
> origin git://cygwin.com/git/cygwin-packages/sshfs (push)
This maybe looks like pilot error.
We don't allow pushing using the git:// protocol (since this protocol
doesn't do any authorization, pushes with a it are very rarely enabled)
I suggest you need to do
git push ssh://cygwin@cygwin.com:git/cygwin-packages/sshfs
to push successfully.
If that works, I suggest you memorialize that by doing
git remote set-url origin --push
ssh://cygwin@cygwin.com:git/cygwin-packages/sshfs
which will cause git to automatically use the ssh URL with a simple 'git
push'.
You might like to review the last time we discussed this at [1]
(Note that's slightly different, as to push to cygwin-apps repositories
you must present the key as yourusername@cygwin.com, whereas for
cygwin-packages repositories, you can present the key as
cygwin@cygwin.com. There are just different due to historical reasons.)
[1] https://cygwin.com/pipermail/cygwin-apps/2021-September/041539.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to 'git push' to /git/cygwin-packages/*
2024-03-14 16:07 ` Jon Turney
@ 2024-03-14 18:26 ` Corinna Vinschen
2024-03-15 9:02 ` Mark Geisert
2024-03-15 9:00 ` Mark Geisert
1 sibling, 1 reply; 8+ messages in thread
From: Corinna Vinschen @ 2024-03-14 18:26 UTC (permalink / raw)
To: cygwin-apps
On Mar 14 16:07, Jon Turney via Cygwin-apps wrote:
> On 14/03/2024 15:39, Mark Geisert via Cygwin-apps wrote:
> > On 3/14/2024 2:42 AM, Jon Turney via Cygwin-apps wrote:
> > > On 14/03/2024 05:45, Mark Geisert via Cygwin-apps wrote:
> > > > Hi folks,
> > > > I'm getting the error:
> > > >
> > > > fatal: remote error: service not enabled: /git/cygwin-packages/sshfs
> > > >
> > > > when I attempt 'git push' to that repository. The same happens
> > > > with all the repositories for my packages. It's been this way
> > > > for a couple days at least.
> > > >
> > > > Have I forgotten some step in the connection at my end? I'm
> > > > running ssh-agent.
> > >
> > > This is probably due to some recent changes made on sourceware.
> > > Apologies for the inconvenience.
>
> I forget to ask when was the last time this worked for you, so maybe
> assuming this is related is premature.
>
> > > What is the repository URL you are trying to push to (git remote -v)?
> >
> > /usr/src/upstaging/sshfs git remote -v
> > origin git://cygwin.com/git/cygwin-packages/sshfs (fetch)
> > origin git://cygwin.com/git/cygwin-packages/sshfs (push)
>
> This maybe looks like pilot error.
>
> We don't allow pushing using the git:// protocol (since this protocol
> doesn't do any authorization, pushes with a it are very rarely enabled)
>
>
> I suggest you need to do
>
> git push ssh://cygwin@cygwin.com:git/cygwin-packages/sshfs
>
> to push successfully.
>
> If that works, I suggest you memorialize that by doing
>
> git remote set-url origin --push
> ssh://cygwin@cygwin.com:git/cygwin-packages/sshfs
>
> which will cause git to automatically use the ssh URL with a simple 'git
> push'.
You may also want to use https:// rather than git:// for reading
the repository these days, given the insecurity of the git protocol.
Corinna
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to 'git push' to /git/cygwin-packages/*
2024-03-14 18:26 ` Corinna Vinschen
@ 2024-03-15 9:02 ` Mark Geisert
0 siblings, 0 replies; 8+ messages in thread
From: Mark Geisert @ 2024-03-15 9:02 UTC (permalink / raw)
To: cygwin-apps
On 3/14/2024 11:26 AM, Corinna Vinschen via Cygwin-apps wrote:
[...]
>
> You may also want to use https:// rather than git:// for reading
> the repository these days, given the insecurity of the git protocol.
Right. I now remember this recommendation too. I will make the change in
all the git configs for my projects.
Thanks much,
..mark
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to 'git push' to /git/cygwin-packages/*
2024-03-14 16:07 ` Jon Turney
2024-03-14 18:26 ` Corinna Vinschen
@ 2024-03-15 9:00 ` Mark Geisert
2024-03-15 13:16 ` Jon Turney
1 sibling, 1 reply; 8+ messages in thread
From: Mark Geisert @ 2024-03-15 9:00 UTC (permalink / raw)
To: cygwin-apps
On 3/14/2024 9:07 AM, Jon Turney via Cygwin-apps wrote:
> On 14/03/2024 15:39, Mark Geisert via Cygwin-apps wrote:
>> On 3/14/2024 2:42 AM, Jon Turney via Cygwin-apps wrote:
>>> On 14/03/2024 05:45, Mark Geisert via Cygwin-apps wrote:
>>>> Hi folks,
>>>> I'm getting the error:
>>>>
>>>> fatal: remote error: service not enabled: /git/cygwin-packages/sshfs
>>>>
>>>> when I attempt 'git push' to that repository. The same happens with
>>>> all the repositories for my packages. It's been this way for a
>>>> couple days at least.
>>>>
>>>> Have I forgotten some step in the connection at my end? I'm running
>>>> ssh-agent.
>>>
[...]
>>> What is the repository URL you are trying to push to (git remote -v)?
>>
>> /usr/src/upstaging/sshfs git remote -v
>> origin git://cygwin.com/git/cygwin-packages/sshfs (fetch)
>> origin git://cygwin.com/git/cygwin-packages/sshfs (push)
>
> This maybe looks like pilot error.
>
> We don't allow pushing using the git:// protocol (since this protocol
> doesn't do any authorization, pushes with a it are very rarely enabled)
>
>
> I suggest you need to do
>
> git push
> ssh://cygwin@cygwin.com:git/cygwin-packages/sshfs
>
> to push successfully.
>
> If that works, I suggest you memorialize that by doing
>
> git remote set-url origin --push
> ssh://cygwin@cygwin.com:git/cygwin-packages/sshfs
>
> which will cause git to automatically use the ssh URL with a simple 'git
> push'.
With a minor correction ("/git" instead of "git" in the URL) this works
fine. I've made the git config change for all my projects.
> You might like to review the last time we discussed this at [1]
>
> (Note that's slightly different, as to push to cygwin-apps repositories
> you must present the key as
> yourusername-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org, whereas for
> cygwin-packages repositories, you can present the key as
> cygwin-rDBXBDvO6BWXj1p+fO2waQ@public.gmane.org There are just different
> due to historical reasons.)
>
> [1] https://cygwin.com/pipermail/cygwin-apps/2021-September/041539.html
Thanks very much, Jon.
..mark
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Unable to 'git push' to /git/cygwin-packages/*
2024-03-15 9:00 ` Mark Geisert
@ 2024-03-15 13:16 ` Jon Turney
0 siblings, 0 replies; 8+ messages in thread
From: Jon Turney @ 2024-03-15 13:16 UTC (permalink / raw)
To: Mark Geisert; +Cc: cygwin-apps
On 15/03/2024 09:00, Mark Geisert via Cygwin-apps wrote:
> On 3/14/2024 9:07 AM, Jon Turney via Cygwin-apps wrote:
>> On 14/03/2024 15:39, Mark Geisert via Cygwin-apps wrote:
>>> On 3/14/2024 2:42 AM, Jon Turney via Cygwin-apps wrote:
>>>> On 14/03/2024 05:45, Mark Geisert via Cygwin-apps wrote:
>>>>> Hi folks,
>>>>> I'm getting the error:
>>>>>
>>>>> fatal: remote error: service not enabled: /git/cygwin-packages/sshfs
>>>>>
>>>>> when I attempt 'git push' to that repository. The same happens
>>>>> with all the repositories for my packages. It's been this way for
>>>>> a couple days at least.
>>>>>
>>>>> Have I forgotten some step in the connection at my end? I'm
>>>>> running ssh-agent.
>>>>
> [...]
>>>> What is the repository URL you are trying to push to (git remote -v)?
>>>
>>> /usr/src/upstaging/sshfs git remote -v
>>> origin git://cygwin.com/git/cygwin-packages/sshfs (fetch)
>>> origin git://cygwin.com/git/cygwin-packages/sshfs (push)
>>
>> This maybe looks like pilot error.
>>
>> We don't allow pushing using the git:// protocol (since this protocol
>> doesn't do any authorization, pushes with a it are very rarely enabled)
>>
>>
>> I suggest you need to do
>>
>> git push
>> ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org:git/cygwin-packages/sshfs
>>
>> to push successfully.
>>
>> If that works, I suggest you memorialize that by doing
>>
>> git remote set-url origin --push
>> ssh://cygwin-rDBXBDvO6BXQT0dZR+AlfA@public.gmane.org:git/cygwin-packages/sshfs
>>
>> which will cause git to automatically use the ssh URL with a simple
>> 'git push'.
>
> With a minor correction ("/git" instead of "git" in the URL) this works
> fine. I've made the git config change for all my projects.
Oops. Yes. Of course that's right, my mistake.
Glad to hear that things are working again for you!
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-03-15 13:16 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-14 5:45 Unable to 'git push' to /git/cygwin-packages/* Mark Geisert
2024-03-14 9:42 ` Jon Turney
2024-03-14 15:39 ` Mark Geisert
2024-03-14 16:07 ` Jon Turney
2024-03-14 18:26 ` Corinna Vinschen
2024-03-15 9:02 ` Mark Geisert
2024-03-15 9:00 ` Mark Geisert
2024-03-15 13:16 ` Jon Turney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).