Reputation: 1767
Does anyone have any clue why this would be happening.
When I go to clone using:
git clone ssh-url
it just says Cloning from 'url'...
but never actually does anything.
I can however clone it with http. But I would like to figure out why this is happening.
EDIT: Also, I am using mysysgit.
UPDATE: I tried reradding my ssh keys to github and then ran ssh -T [email protected] to test if it worked. The following is the resulkting output:
Permissions 0660 for '/home/thebo_000/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/thebo_000/.ssh/id_rsa
Permission denied (publickey).
Upvotes: 0
Views: 3634
Reputation: 1537
Your ssh key should have the permission 600. Otherwise SSH will not accept your private key out of security precautions. This is the key, where you decrypt the data send from github, which is encrypted with your public key.
You can easily fix this by doing:
chmod 600 ~/.ssh/id_rsa
This should settle the issue.
On unix the permissons (with ls -l) should look like this:
-rw--------
Upvotes: 3