-2

I am trying to create a vm for ubuntu in my mac but when i enter vagrant ssh terminal ask for password
i have checked vagrant website couldn't find the solution

vagrant init ubuntu/mantic64
vagrant up
vagrant ssh

Output:

 [bash-3.2$ vagrant ssh
 vagrant@127.0.0.1's password:

Screenshot

  • 1
    I’m voting to close this question because from the vagrant tag: GENERAL VAGRANT SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com. Please delete this. – Rob Jul 09 '23 at 10:48

3 Answers3

0

You can try the default user's credentials:

user: vagrant
password: vagrant

If it is not you may need to reset the password you can check that discussion on github: https://github.com/puphpet/puphpet/issues/2357

They are mentioning that a ssh key pair is being generated while setting up the machine

0

I am assuming you build the vagrant box by yourself or you got a vagrant which is not properly configured.

When the vagrant box is being created, vagrant user is need to be created with sudo access. I am sure you can easily find many articles how to build a vagrant box from scratch.

Arunesh
  • 1
  • 1
  • 2
0

The default password and user is vagrant. If you want to change it, look about this topic at stackoverflow How to change Vagrant password

Marcos Silva
  • 115
  • 5