![]() Generating the id_rsa $ ssh-keygen -t rsaĬopied the exact content of the key $ cat ~/.ssh/id_rsa.pubĪnd I added id_rsa.pub's content in my BitBucket account's ssh keys. Of course I tried doing it the very basic way, as suggested by D.Samchuk: I have no idea what is different on the first machine, why does it reject my request? I need to do the same on my first machine now.Īs a last resort, I followed some advises on the net using the ssh-agent: $ eval `ssh-agent -s`īut still no luck: $ git clone into 'myrepo'. Remote: Total 3 (delta 0), reused 0 (delta 0) I repeated the identical procedure on another machine, it worked: $ git clone empty Git repository in /home/me/.ssh/myrepo/.git/ ![]() ![]() Then I retried cloning my repository: $ git clone into 'myrepo'. Then I added the content of my-key.pub in my bitbucket account's ssh keys. Please make sure you have the correct access rights Despite setting up the ssh key on the computer and then adding it on my bitbucket account, I fail at connecting: $ git clone into 'myrepo'.įatal: Could not read from remote repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |