On 05/06/2018 10:38 PM, Martin Landa wrote: > 2018-05-06 7:26 GMT+02:00 Sebastiaan Couwenberg <[email protected]>: >> Please update your working copies by changing the origin URL: >> >> git remote set-url origin \ >> https://salsa.debian.org/debian-gis-team/<package>.git >> >> git remote set-url --push origin \ >> [email protected]:debian-gis-team/<package>.git > > I changed origin accordingly > > $ git remote -v > origin https://salsa.debian.org/debian-gis-team/grass.git (fetch) > origin [email protected]:debian-gis-team/grass.git (push) > > but > > $ git push > > still fails > > $ git push > [email protected]: Permission denied (publickey). > fatal: Could not read from remote repository.
You need to add your SSH key in your profile: https://salsa.debian.org/profile/keys See the documentation for more details: https://salsa.debian.org/help/ssh/README.md > Sorry, but what I don't fully understand sentence bellow: > > """ > All git:// & git+ssh:// URLs need to be changed manually. > """" Those are other protocols that can be used for git, e.g.: git://anonscm.debian.org/pkg-grass/grass.git git+ssh://git.debian.org/pkg-grass/grass.git The git protocol, plain or over SSH, does not support redirects like we have in place for HTTP(S), it simply stops working when Alioth goes down. The HTTP(S) requests will be redirected to Salsa via the AliothRewriter. Kind Regards, Bas
