Vagrant ssh problem

$ vagrant ssh
This command requires a specific VM name to target in a multi-VM environment.

How can i solve this problem?

Hey @Md_Mahadia_86036

Yep you will have to include the VM you wish to enter.

vagrant ssh database
# or
vagrant ssh infrastructure
1 Like

Hi @Md_Mahadia_86036,

Please refer to the following links for this issue:

You can try the following command to connect to your Vagrant instance using SSH:

vagrant ssh mongod-m103

I hope it helps!!
Please let me know, if you have any questions.

Thanks,
Sonali

Thank you every one for your effective reply :slightly_smiling_face: