Search code examples
windowsgitbitbucketatlassian-sourcetree

Public key issue with command line in sourceTree (git )


I usually use git on linux and I'm not familiar with sourceTree on windows ( c# project ), the interface is usefull to follow the tree, but I would like to the use commande line .

I really don't understand, I generated my ssh key with sourceTree agent and load with "Pageant", I added the public key on my bitbucket account.

And it works. I can clone/pull/push from the sourceTree interface

fetch with sourceTree's interface

But using the sourceTree command line mode doesn't work

command line doesn't works


Solution

  • you need to generate public key from console.

    like this

     ssh-keygen
    

    it will generate public key that you can add it in Bitbucket

    for more info visit this Tutorial