Gitlab.com ssh blocking me

Hi,
I’ve been using giltab.com for a while with a couple of private repositories. Since last week, I started to experience the error below while doing pull/push actions.

git@gitlab.com: Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Running exactly the same command was working second or third time.

Since yesterday the error started to happen more often, and now that I’m posting this question, I cannot pull/push/clone any of my repositories.
I’m getting the same error doing ssh -T git@gitlab.com.

2 Likes

Are you using Fedora? This is very similar to the following:

Fedora bug is being tracked at:

Fedora update is available for testing at:
https://bodhi.fedoraproject.org/updates/FEDORA-2020-413ab3bca3

3 Likes

Until the bug is fixed, the following workaround works in ~/.ssh/config (particularly PubkeyAcceptedKeyTypes=+ssh-rsa):

Host gitlab.com
    HostName gitlab.com
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/id_gitlab_rsa
    PubkeyAcceptedKeyTypes=+ssh-rsa
3 Likes