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://cyg...@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://cyg...@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 yourusern...@cygwin.com, whereas for
cygwin-packages repositories, you can present the key as
cyg...@cygwin.com. There are just different due to historical reasons.)
[1] https://cygwin.com/pipermail/cygwin-apps/2021-September/041539.html