Git SSH Permission danied

I got this error while trying to access github using ssh access, here is my error messages :

vagrant@vagrant-ubuntu-trusty-64:/vagrant/project/web-xxx$ git fetch
Permissions 0777 for ‘/home/vagrant/.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/vagrant/.ssh/id_rsa
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

the problem is Keys need to be only readable by you:

chmod 400 ~/.ssh/id_rsa

source :



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s