soramimi / Guitar

Git GUI Client
https://soramimi.github.io/Guitar/
GNU General Public License v2.0
1.57k stars 124 forks source link

Push to github.com fails #122

Open sverx opened 1 year ago

sverx commented 1 year ago

As per the subject - it's no longer possible to push to remotes on GitHub.com:

Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentic

sverx commented 1 year ago

note: this happens both with the release version and with the pre-release build

yumetodo commented 1 year ago

how about to use Personal Access Token or SSH?

sverx commented 1 year ago

How do I set that within the program?

soramimi commented 1 year ago

Try using private key instead of password authentication.

  1. Click the Property... in the Repository menu

image

  1. Click the Remote menu button, then click Add or Edit button

image

3 Set the URL starting with "git@github.com:" in the Remote URL field, and click the SSH key override button

image

  1. Set up an SSH private key file.

image

ghost commented 11 months ago

Hello, I love Guitar so far, but this is a problem that I haven't been able to fix.

Even though I followed the steps specified in https://github.com/soramimi/Guitar/issues/122#issuecomment-1377274177 I'm still not able to do any action though this program.

ERROR: Repository not found. fatal: Could not read from remote repository.

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

This is typical error of not having the ssh registered into the keychain.

I double checked and my keys are correct. (I can go to the Linux terminal and perform any action with success)

How can I further debug this? Could the cause of this be a passphrase protected ssh key?