[aur-general] AUR problem: 403 for white_dune package
Hi, When i try $ git remote add white_dune ssh://aur@aur.archlinux.org/pkgbase.git $ git push fatal: unable to access 'https://aur.archlinux.org/white_dune.git/': The requested URL returned error: 403 $ / I run "ssh-keygen" and uploaded the .pub key. I had no problems using "git push" before.... What is wrong ? so long MUFTI /
On 1/23/20 11:10 PM, J.Scheurich wrote:
Hi,
When i try
$ git remote add white_dune ssh://aur@aur.archlinux.org/pkgbase.git $ git push fatal: unable to access 'https://aur.archlinux.org/white_dune.git/': The requested URL returned error: 403
the "white_dune" remote you just added is not the one you are pushing to. git push by default pushes to the same remote you used "git clone" on. You can try: - re-cloning using ssh from the start - "git remote set-url origin ssh://......." to update the default remote's url for pushing - use "git push white_dune master" to push to the alternative remote Also: why are you adding a remote with the literal value "pkgbase"? -- Eli Schwartz Bug Wrangler and Trusted User
Hi,
When i try
$ git remote add white_dunessh://aur@aur.archlinux.org/pkgbase.git $ git push fatal: unable to access 'https://aur.archlinux.org/white_dune.git/': The requested URL returned error: 403 the "white_dune" remote you just added is not the one you are pushing to. git push by default pushes to the same remote you used "git clone" on.
You can try: - re-cloning using ssh from the start - "git remote set-url originssh://......." to update the default remote's url for pushing - use "git push white_dune master" to push to the alternative remote
Next trail... $ git clone ssh://aur@aur.archlinux.org/white_dune.git Cloning into 'white_dune'... aur@aur.archlinux.org: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. $ git clone http://aur.archlinux.org/white_dune.git Cloning into 'white_dune'... warning: redirecting to https://aur.archlinux.org/white_dune.git/ remote: Enumerating objects: 560, done. remote: Counting objects: 100% (560/560), done. remote: Compressing objects: 100% (298/298), done. remote: Total 560 (delta 262), reused 560 (delta 262) Receiving objects: 100% (560/560), 111.68 KiB | 3.10 MiB/s, done. Resolving deltas: 100% (262/262), done. $ git remote set-url origin ssh://aur@aur.archlinux.org/white_dune.git fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). $ so long MUFTI
Hi
$ git clone ssh://aur@aur.archlinux.org/white_dune.git Cloning into 'white_dune'... aur@aur.archlinux.org: Permission denied (publickey). fatal: Could not read from remote repository. Is your key added to the ssh-agent?
-- Toni On 01/24 07:18, J.Scheurich wrote:
Hi,
When i try
$ git remote add white_dunessh://aur@aur.archlinux.org/pkgbase.git $ git push fatal: unable to access 'https://aur.archlinux.org/white_dune.git/': The requested URL returned error: 403 the "white_dune" remote you just added is not the one you are pushing to. git push by default pushes to the same remote you used "git clone" on.
You can try: - re-cloning using ssh from the start - "git remote set-url originssh://......." to update the default remote's url for pushing - use "git push white_dune master" to push to the alternative remote
Next trail...
$ git clone ssh://aur@aur.archlinux.org/white_dune.git Cloning into 'white_dune'... aur@aur.archlinux.org: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. $ git clone http://aur.archlinux.org/white_dune.git Cloning into 'white_dune'... warning: redirecting to https://aur.archlinux.org/white_dune.git/ remote: Enumerating objects: 560, done. remote: Counting objects: 100% (560/560), done. remote: Compressing objects: 100% (298/298), done. remote: Total 560 (delta 262), reused 560 (delta 262) Receiving objects: 100% (560/560), 111.68 KiB | 3.10 MiB/s, done. Resolving deltas: 100% (262/262), done. $ git remote set-url origin ssh://aur@aur.archlinux.org/white_dune.git fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). $
so long MUFTI
Hi
$ git clone ssh://aur@aur.archlinux.org/white_dune.git Cloning into 'white_dune'... aur@aur.archlinux.org: Permission denied (publickey). fatal: Could not read from remote repository. Is your key added to the ssh-agent? $ cat ~/.ssh/config Host aur.archlinux.org User aur PreferredAuthentications publickey IdentityFile ~/.ssh/aur AddKeysToAgent yes ... $ git push aur@aur.archlinux.org: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights $ Is this .ssh/config enough for ssh-agent ? so long MUFTI
On 1/24/20 4:17 AM, J. Scheurich wrote:
Hi
$ git clone ssh://aur@aur.archlinux.org/white_dune.git Cloning into 'white_dune'... aur@aur.archlinux.org: Permission denied (publickey). fatal: Could not read from remote repository. Is your key added to the ssh-agent? $ cat ~/.ssh/config Host aur.archlinux.org User aur PreferredAuthentications publickey IdentityFile ~/.ssh/aur AddKeysToAgent yes ... $ git push aur@aur.archlinux.org: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights $
Is this .ssh/config enough for ssh-agent ?
Are you sure your pubkey is added to your AUR profile? What is the full output of the command: ssh -v aur@aur.archlinux.org -- Eli Schwartz Bug Wrangler and Trusted User
participants (4)
-
Eli Schwartz
-
eye@eyenx.ch
-
J. Scheurich
-
J.Scheurich