Prompted for Password when Connecting to Vagrant

When entering “vagrant ssh”, I get prompted for a password. I just finished provisioning the Vagrant box and never specified one.

Untitled

Seems that something went wrong when setting up the VM. You’ll notice that “vagrant ssh” is actually not connecting to the VM, but to your host OS.

EDIT:
Disregard this message of mine. I’ve learned today, that Vagrant creates a port forward from your host OS to the SSH daemon on the VM. Which is why “vagrant ssh” connects to “127.0.0.1:2222”.

I figured out! It was simply “vagrant”.

1 Like

Thanks David for the password :grinning:

Hi Everyone,

Yes, the password is vagrant. If you don’t like to enter password again and again, look at the solution below. If it works, let me know!

Kanika

1 Like