I'm trying to ssh to simple Vargant machine and it asks me for passphrase:
>vagrant init ubuntu/trusty32
>vagrant up
>vagrant ssh
Enter passphrase for key '.../.vagrant/machines/default/virtualbox/private_key':
This is probably due to new key generation:
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2200
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if its present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
How to make new keys passwordless?
Upadate: Looks like the key is not actually protected by passphrase. I used Puttygen to generate .ppk from it and successfully connected using it to vagrant@localhost:2200.