After building vagrant machine the command to ssh into the guest machine is pretty simple.
While working with chef I needed to explicitly ssh into the vagrant machine. It took me sometime to figure it out.
The key is command
vagrant ssh-config. The output might look like
~/.ssh/config and paste the output at the end of the file and
save the file.
Now I can ssh into vagrant machine using ssh command as shown below.
If you are wondering from where the name
vmachine came then this is
the name I had given to my vagrant machine .