Passphrase for "vagrant ssh"

Hello everybody!

Help please with the following (I can’t enter the virtual machine because of key file password request):
“…\m042-vagrant-env>vagrant ssh
Enter passphrase for key ‘…/m042-vagrant-env/.vagrant/machines/mongodb-m042/virtualbox/private_key’:”
Config is the following:
“…\m042-vagrant-env>vagrant ssh-config
Host mongodb-m042
User vagrant
Port 2222
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile …/m042-vagrant-env/.vagrant/machines/mongodb-m042/virtualbox/private_key
IdentitiesOnly yes
LogLevel FATAL”
OS is Windows 10.

Hello tian,

If Vagrant prompts you for a username and password, the username is vagrant and the password is vagrant.

Let me know if this helps!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.