Skip to content

Commit

Permalink
more chmod 600 on authorized_keys
Browse files Browse the repository at this point in the history
  • Loading branch information
mdxp committed Jul 1, 2011
1 parent c26e310 commit 3997df9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/Debian-5.0.8-amd64-netboot/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions templates/Debian-5.0.8-i386-netboot/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions templates/Debian-6.0.2-amd64-netboot/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3997df9

Please sign in to comment.