Unable to clone/pull/push a repository with Git for Windows 2.14 over SSH

Viewed 856

I recently formatted my computer and upgraded to Windows 10 but forgot to backup my SSH keys for my gitlab repositories. So I have just created a new SSH key and copypasted it to gitlab.com/profile/keys.

Now I've created a new folder to one of my pre-existing projects but when I try to clone it with

git clone git@gitlab.com:user_name/project_name.git

I am getting

GitLab: Disallowed command

fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.ssh -v git@gitlab.com

If I try...

ssh -v git@gitlab.com

Or...

ssh -T git@gitlab.com

I got to see the correct Welcome message with my name.

Any ideas?

1 Answers
Related