I think I had  a different issue than a lot of the posts I was reading.
I don't want to use git to provision.
I ended up mounting my host ssh folder to a folder on the guest and 
symlinking the private ssh key
Now I just have to undo some of the parts which are probably not needed.


On Saturday, August 26, 2017 at 8:30:20 PM UTC-5, Shawn Garner wrote:
>
> I am trying to setup a development box with Vagrant.
> I can't get it where I can git clone on the box.
> I've read quite a few things and tried quite a few things.
> My vagrant file is at 
> https://github.com/BusyByte/linux-dev/blob/master/Vagrantfile
> I'm running Vagrant up from git bash on Windows.
> All I want to do is use the same id_rsa and id_rsa.pub  from my Windows 
> host when logged into the gui as the vagrant user.
> I get this:
>
> vagrant@vagrant:~$ git clone [email protected]:BusyByte/twitter-statistics.git
>> Cloning into 'twitter-statistics'...
>> Permission denied (publickey).
>> fatal: Could not read from remote repository.
>>
>> Please make sure you have the correct access rights
>> and the repository exists.
>>
>>
> The keys work fine on the host machine but not the box.
> Can somebody help me troubleshoot this? 
>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/e8af9294-f0c2-4fdd-a971-e9de37f50c2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to