[aur-general] Issue when changing hostname in ~/.ssh/config
Hi, As described in the proposal to the notification I changed the hostname in ~/.ssh/config so that that file now reads: Host aur4.archlinux.org IdentityFile ~/.ssh/id_rsa-aur User aur Port 22 And I tried to pull from and push to that server from an existing aur-dev repository. However, that failed with: Permission denied (publickey). fatal: Could not read from remote repository. My public key is correctly filled in the account settings, so I guess that the issue is due to the change of the host name. It could be me doing something wrong, but this issue may pop up again after changing from aur4.archlinux.org to aur.archlinux.org. Best, Marcel
Marcel, On Mon, 25 May 2015, Marcel Korpel wrote:
My public key is correctly filled in the account settings, so I guess that the issue is due to the change of the host name. It could be me doing something wrong, but this issue may pop up again after changing from aur4.archlinux.org to aur.archlinux.org.
Assuming that you did git remote add origin ssh+git://aur-dev.archlinux.org/your_pkgbase.git/ and git push -u origin master you could try git remote set-url origin ssh+git://aur@aur4.archlinux.org/your_pkgbase.git/ and see if that fixes the problem. --brian
* "Brian F. G. Bidulock" <bidulock@openss7.org> (Tue, 26 May 2015 04:10:18 -0600):
you could try
git remote set-url origin ssh+git://aur@aur4.archlinux.org/your_pkgbase.git/
That indeed did the trick, thanks! Best, Marcel
participants (2)
-
Brian F. G. Bidulock
-
Marcel Korpel