Skip to content

Instantly share code, notes, and snippets.

@guiyomh
Created January 23, 2016 16:35
Show Gist options
  • Save guiyomh/5523363606d640cc6c4b to your computer and use it in GitHub Desktop.
Save guiyomh/5523363606d640cc6c4b to your computer and use it in GitHub Desktop.
Get insecure key for Vagrant
#!/usr/bin/env bash
wget https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub -O .ssh/authorized_keys
chmod 700 .ssh
chmod 600 .ssh/authorized_keys
chown -R vagrant:vagrant .ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment