Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
1 of 2

Vagrant ssh ask for password

I have been following this doc from vagrant https://www.vagrantup.com/docs/getting-started/up.html

to vagrant up and running. I just installed virtualbox and vagrant. Then created a folder, init and vagrant up. After that ran this command vagrant ssh and I get this message

The private key to connect to the machine via SSH must be owned
by the user running Vagrant. This is a strict requirement from
SSH itself. Please fix the following key to be owned by the user
running Vagrant:

/media/***/Vagrant/.vagrant/machines/default/virtualbox/private_key

I have read some article related to this problem. I think I have to add the key to my system or something about verifying the key. But I am not clear about the most solutions. Anyway, it would be nice if someone could give me a solution for this.

Also when I try to access my virtual running os from virtualbox UI it ask for username and password. But while I was setting up vagrant and virtualbox I did not insert any username or password. So I don't know why it is asking for username and password.