Hi,

I am confused about ssh keys. (I just started using vagrant so this might 
be a standard question...) Normally if I start a new VM instance on say 
digital ocean I would proceed to use say

  ssh-copy-id.sh root@newMachineIP

then I would enter the password that say digital ocean sent me and this 
would transfer my *public* key id_rsa.pub into /root/.ssh/authorized_keys

Then I could just

  ssh root@newMachineIP

and it would work... With digital ocean I can even given them my *public* 
key id_rsa.pub and then I will be able to log into the machine without this 
step.

Sooo... How come I can't set some

  config.ssh.public_key_path = '~/.ssh/id_rsa.pub'

and when the machine is provisioned it would just add this into the 
/vagrant/.ssh/authorized_keys ?

why does the config / setup want my private key? It would be nice to then 
not have the vagrant key in there at all...

I must be missing something... 

Thanks,
   Jason

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to