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+a...@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+a...@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!

Reply via email to