diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile index 6b7b22b6b99a61a3e8e2f9634597bbb7cf247fe8..73efe587cbc5e734069a86da6f891261e861a220 100644 --- a/vagrant/Vagrantfile +++ b/vagrant/Vagrantfile @@ -45,6 +45,8 @@ Vagrant.configure(2) do |config| chmod 600 /root/.ssh/id_rsa echo '#{my_publickey}' > /root/.ssh/authorized_keys chmod 600 /root/.ssh/authorized_keys + echo '#{my_publickey}' > /root/.ssh/id_rsa.pub + chmod 644 /root/.ssh/id_rsa.pub mkdir -p /home/vagrant/.ssh echo '#{my_privatekey}' >> /home/vagrant/.ssh/id_rsa chmod 600 /home/vagrant/.ssh/*