HELP with WINDOWS HOST SSH

已查看 27 次
跳至第一个未读帖子

Shawn Garner

未读,
2017年8月26日 21:30:202017/8/26
收件人 Vagrant
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 g...@github.com: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?

Shawn Garner

未读,
2017年8月27日 12:05:252017/8/27
收件人 Vagrant
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.
回复全部
回复作者
转发
0 个新帖子