Passwordless ssh auth into your vagrant box

Repeatedly entering password is quiet annoying, luckily most vagrant base boxes come with the same insecure ssh key 🙂

curl https://raw.github.com/mitchellh/vagrant/master/keys/vagrant > vagrant.key
chmod 600 vagrant.key
knife solo cook --ssh-identity vagrant.key vagrant@vagrant

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s