Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-4583

Git operations: Permission denied (publickey).

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • unversioned
    • Gerrit
    • None
    • Linux/X11

    Description

      Gerrit server started rejecting my access to git fetch/push operations with "Permission denied (publickey)" kind of error. It was still alright about in the morning 2021-09-27, but was already broken afternoon the same day.

      I double checked my ssh key, re-added it in Gerrit profile settings, but to no avail.

      My remote URLs are like this: ssh://ratijas@codereview.qt-project.org:29418/qt/qtdeclarative.git

      Errors look like this:

      ❯ LC_ALL=C git fetch
      remote: Counting objects: 34, done.
      remote: Compressing objects: 100% (34/34), done.
      remote: Total 34 (delta 27), reused 0 (delta 0)
      Unpacking objects: 100% (34/34), 3.72 KiB | 100.00 KiB/s, done.
      From git://code.qt.io/qt/qtdeclarative
         7f65c0d480..ad78142247  6.1        -> origin/6.1
         fd59df244a..3bb2f7dde4  6.2        -> origin/6.2
         f5fc1d556d..29946505a3  dev        -> origin/dev
      ❯ LC_ALL=C git push gerrit HEAD:refs/for/dev
      ratijas@codereview.qt-project.org: Permission denied (publickey).
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            gerrit-admin Gerrit Admin
            ratijas ivan tkachenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes