From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 512BC3858C60; Thu, 14 Mar 2024 18:26:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 512BC3858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1710440798; bh=OyUBv3lNLZae8o4IVrT78kuCuzzw5RqHVsnWUMXIbpM=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To:From; b=pxyiWaXKpC7KoI9LGCijh49YS+bAZqjj0UpB1lYSsMa0WyK43A6xvyscPNoZFw79X 5BMqZzLlusmxM0jQRg9+o/ONkfnBmyZvCtFMbBOqYixlLp4lCCsP6ySOPJ7VvzAM9c 5bySpHAFVEHiXlb2MWp/+94lCd8vvCJlmIXadE7M= Received: by calimero.vinschen.de (Postfix, from userid 500) id 5C214A80431; Thu, 14 Mar 2024 19:26:36 +0100 (CET) Date: Thu, 14 Mar 2024 19:26:36 +0100 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: Unable to 'git push' to /git/cygwin-packages/* Message-ID: Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <3ff0fb2e-c987-4fd6-b058-d8a2fa657e7e@dronecode.org.uk> <9c90fbe5-c853-45d6-bd54-d50a8488fc99@maxrnd.com> <72a7a008-6e77-47c0-a3fa-eb72827c18ca@dronecode.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <72a7a008-6e77-47c0-a3fa-eb72827c18ca@dronecode.org.uk> List-Id: 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