When I want to launch on GitHub, the following error occurs:

enter image description here

  • You have key authorization. Must be a private key. When everything was possible before, was the authorization also on the keys, or on the password? This is exposed in the web interface on the github. - iksuy
  • after the push command, I entered my login and password) - drugs_and_code

1 answer 1

You can access the repository via ssh, or you can via https. You have added a remote repository as an ssh repository. Login / password is used for access via https. Here the difference is described in detail. For ssh authentication you need keys, and https only login / password. In your case, you need to change the origin address of the repository.

git remote remove origin git remote add origin https://github.com/username/reponame.git