How can I use username and password to authenticate

I have several repos that I can authenticate with using my login credentials. I created a new repo and I am getting the following error:

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

Where in the settings can I change the settings so I can login using my username/password? I can’t seem to find anything in the repo settings about it. Thanks!

You cannot use git over ssh using your login/password. You have to use and upload a SSH key to your account.

See the docs: Use SSH keys to communicate with GitLab | GitLab

1 Like