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 > 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: Logo

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

Facebook photo

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

Connecting to %s