Skip SSH authentication

Is it possible to skip this step to make the linked cloning process faster? It last around 1 minute and can be time consuming when deploying 5 or more VM’s.

Hi @ArielJGS,

Would you mind posting a copy of the Vagrantfile you’re using? Thanks!

Hello @jbonhag,

Here it is:

Hi there,

Thanks for sharing a copy of your Vagrantfile. It looks like you’ve got everything pretty well optimized, so I don’t think there’s much you can do there in the way of speed improvements.

If you’re just talking about the key replacement step:

    app1: Vagrant insecure key detected. Vagrant will automatically replace
    app1: this with a newly generated keypair for better security.
    app1: Inserting generated public key within guest...
    app1: Removing insecure key from the guest if it's present...
    app1: Key inserted! Disconnecting and reconnecting using new SSH key...

You can set config.ssh.insert_key = false in your Vagrantfile and it will skip that part of the process.

If boot time is a concern, you might also consider suspending or halting the machines rather than destroying them.