paliarush / magento2-vagrant-for-developers

Vagrant Box for Magento 2 Developers
MIT License
447 stars 165 forks source link

Permission denied (publickey). #165

Closed asimsoroya closed 6 years ago

asimsoroya commented 6 years ago

Hi I am trying to clone from this repo and getting permission error, is it publicly available if yes why im getting the error thanks

nfourteen commented 6 years ago

Where are you getting a "permission denied (publickey)" error? If you were trying to clone this repo and got that error, then see Connecting to Github with SSH and make sure you've added your SSH key to the ssh-agent via ssh-add. You can check if it has been added to the agent with ssh-add -l.

If you were able to clone this repo and got the error while running the bash init_project.sh script, it's because the box is trying to clone the Magento repo, but doesn't have access to the host's SSH keys. Add config.ssh.forward_agent = true to the end of the Vagrantfile. Or create new SSH keys in the box and set them up in Github.

paliarush commented 6 years ago

@nfourteen Thanks for answering the question, added it to the FAQ section for others.