The following command suggests that ssh tool tries rsa private key, but is rejected: $ ssh -vT ĭebug1: Offering RSA public key: /home//.ssh/id_rsaĭebug1: Authentications that can continue: publickeyĭebug1: Trying private key: /home//.ssh/id_dsaĭebug1: Trying private key: /home//.ssh/id_ecdsaĭebug1: Trying private key: /home//.ssh/id_ed25519ĭebug1: No more authentication methods to try. Product Help Center Learn Git Library Git Blog Try Free Home Git Problems & Solutions GitHub Add SSH Key GitHub Add SSH Key If you’re not already familiar, SSH, or secure shell, is a network protocol that allows you to safely encrypt any data you’re pushing from a local computer to a server over the Internet. So far I have checked several things: ssh -T įingerprint of id_rsa.pub matches to a key existing in Github account. The URL of the repository point to my new username. I can also push from inside Eclipse, and via command line without error. Unselecting the option reveals proper private/public key pair located at ~/.ssh/id_rsa Please confirm that it is properly associated with your git provider. I have recently changed my GitHub username and when I try to push with Authentication > Use local SSH agent selected, GitKraken push fails with following error: Push Failed What helped me resolve the issue was to go to GitKraken preferences and connect both Bitbucket and Github and authorize them.Īfter that tick the box in "general" that says use local ssh agent. I went into file > preferences > SSH > unmarked use local SSH agent then it automatically found my id_rsa, ida_rsa.pub (you can browse and locate them manually if needed) Solution 2įor people who will come here in the future, my case was that pull/push working on vsc but gitkraken was giving me the message : no auth sock variable. You might have to add the command to some sort of setup file which is run at boot, because it seems like the ssh agent doesn't remember the key (at least for me). For more information see the GitHub Help Page about adding SSH Keys. The command adds the ssh key to the git agent. (you might have to replace that with the path of the key you are using). For me this was caused by an upgrade to OSX Sierra.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |