install -d -m 0700 -o ubuntu -g ubuntu ~ubuntu/.ssh wget --no-check-certificate -O - https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub > ~ubuntu/.ssh/authorized_keys.tmp install -m 0600 -o ubuntu -g ubuntu ~ubuntu/.ssh/authorized_keys.tmp ~ubuntu/.ssh/authorized_keys rm -f ~ubuntu/.ssh/authorized_keys.tmp install -d -m 0755 -o root -g root /var/run/sshd exec /usr/sbin/sshd -D