I recently changed my GitHub username, and when I try to click Authentication> Use Local SSH Agent, GitKraken push does not work with the following error:
Push Failed Configured SSH key is invalid. Please confirm that it is properly associated with your git provider.
Deselecting the option shows the correct private / public key pair located in
~/.ssh/id_rsa ~/.ssh/id_rsa.pub
and allows you to push.
I can also click from within Eclipse and through the command line without errors. The repository url points to my new username.
So far I have checked a few things:
ssh -T github.com
gives permission denied
The id fingerprint id_rsa.pub matches the key existing in the Github account.
The following command assumes that the ssh tool is trying to use the rsa private key, but is rejected:
$ ssh -vT github.com debug1: Offering RSA public key: /home/<user>/.ssh/id_rsa debug1: Authentications that can continue: publickey debug1: Trying private key: /home/<user>/.ssh/id_dsa debug1: Trying private key: /home/<user>/.ssh/id_ecdsa debug1: Trying private key: /home/<user>/.ssh/id_ed25519 debug1: No more authentication methods to try. Permission denied (publickey).
What causes ssh -vT to fail in this case, and why doesn't it prevent git from being pressed / turned off, but it fails when GitKraken tries to click?
source share