Hello,
On the official Vagrant website you may find a lot of documentation regarding any of the functionality of the tool.
On this link below for example is described how to SSH to the machine that you have build using Vagrant.
If you still have not built any machine, please check all other sections of the documentation for the information you need.
The getting-started guide would be very helpful also for a beginner.
After doing it you may focus onto the documentation and the piece information that you are looking for.
I will be glad if i could help you.
Please do not hesitate to ask if you have any further questions.
Best reagards,
Denislav