[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110833] Pushing to Git not working but ssh connection works
From: |
Mohammad Akhlaghi |
Subject: |
[sr #110833] Pushing to Git not working but ssh connection works |
Date: |
Fri, 3 Feb 2023 10:07:31 -0500 (EST) |
URL:
<https://savannah.nongnu.org/support/?110833>
Summary: Pushing to Git not working but ssh connection works
Project: Savannah Administration
Submitter: makhlaghi
Submitted: Fri 03 Feb 2023 03:07:29 PM UTC
Category: Source code repositories - developer access
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Assigned to: None
Originator Email: mohammad@akhlaghi.org
Operating System: GNU/Linux
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 03 Feb 2023 03:07:29 PM UTC By: Mohammad Akhlaghi <makhlaghi>
When I try to push commits in Gnuastro's 'master' branch, I get the following
error:
$ $ git push origin master
fatal: remote error: access denied or repository not exported: /gnuastro.git
However, my SSH key is registered in "My Account Conf" (it was updated there
several weeks ago)! Therefore, I tried following the SshAccess
<https://savannah.gnu.org/maintenance/SshAccess/> tip on debugging, but that
worked correctly:
$ ssh makhlaghi@cvs.savannah.gnu.org
The authenticity of host 'cvs.savannah.gnu.org (209.51.188.81)' can't be
established.
ED25519 key fingerprint is
SHA256:o/oI4CKKcWc4cZvDFEdmOXsE3tiPP8bWa04h4bQjtV4.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'cvs.savannah.gnu.org' (ED25519) to the list of
known hosts.
Linux vcs1 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: DDD MMM D HH:MM:SS YYYY from XX.XX.XX.XXX
You tried to execute:
Sorry, you are not allowed to execute that command.
Connection to cvs.savannah.gnu.org closed.
So apparently Savannah's CVS repository works with my SSH key, but not the Git
repository. I also tried the 'git push' command after the 'ssh' command above
(in case the problem was with my OS not recognizing Savannah).
For completeness, here is how Git recognizes Savannah on my system:
$ git remote -v
origin git://git.savannah.gnu.org/gnuastro.git (fetch)
origin git://git.savannah.gnu.org/gnuastro.git (push)
I would be grateful if you could help me find the solution to this problem.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/support/?110833>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [sr #110833] Pushing to Git not working but ssh connection works,
Mohammad Akhlaghi <=