Permalink
Browse files

more chmod 600 on authorized_keys

  • Loading branch information...
1 parent c26e310 commit 3997df9ddc91f3660e9f782cf80d9bc6f3f3fc6a @mdxp committed Jul 1, 2011
@@ -29,6 +29,7 @@ mkdir /home/vagrant/.ssh
chmod 700 /home/vagrant/.ssh
cd /home/vagrant/.ssh
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
+chmod 600 /home/vagrant/.ssh/authorized_keys
chown -R vagrant /home/vagrant/.ssh
#Installing the virtualbox guest additions
@@ -29,6 +29,7 @@ mkdir /home/vagrant/.ssh
chmod 700 /home/vagrant/.ssh
cd /home/vagrant/.ssh
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
+chmod 600 /home/vagrant/.ssh/authorized_keys
chown -R vagrant /home/vagrant/.ssh
#Installing the virtualbox guest additions
@@ -27,6 +27,7 @@ mkdir /home/vagrant/.ssh
chmod 700 /home/vagrant/.ssh
cd /home/vagrant/.ssh
wget --no-check-certificate 'http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub' -O authorized_keys
+chmod 600 /home/vagrant/.ssh/authorized_keys
chown -R vagrant /home/vagrant/.ssh
#the netboot install the virtualbox stuff so we have to remove it

0 comments on commit 3997df9

Please sign in to comment.