Date: Wed, 07 Apr 2021 17:45:39 +0800 From: Philip Paeps <philip@freebsd.org> To: Thierry Thomas <thierry@freebsd.org> Cc: git@freebsd.org Subject: Re: git@git.freebsd.org: Permission denied (publickey) Message-ID: <5A79804B-BFAA-449E-AA79-30FFAA739D23@freebsd.org> In-Reply-To: <YGx7OzCutj4Bd4sB@graf.pompo.net> References: <YGx7OzCutj4Bd4sB@graf.pompo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-04-06 23:16:11 (+0800), Thierry Thomas wrote: > Trying to push my first commit, I get this error: > > git@git.freebsd.org: Permission denied (publickey). > fatal: Could not read from remote repository. > > Please make sure you have the correct access rights > and the repository exists. > > Any clue? For the archives: this happened to me when I had my .git/config pushurl configured as git.FreeBSD.org but my .ssh/config Host configured as *.freebsd.org. Making the case in .git/config match the case in .ssh/config made the problem go away. Subtle. :) Philip -- Philip Paeps Senior Reality Engineer Alternative Enterprises
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A79804B-BFAA-449E-AA79-30FFAA739D23>