Learn Vagrant from Scratch : Starting and SSH into vagrant box

Learn Vagrant from Scratch : Starting and SSH into vagrant box
4.5 (90%) 4 votes

Starting and SSH into vagrant box

You have all the setup for now and you can boot you vagrant box by giving the command

vagrant up

This will take sometime around 1 minute to boot your system. After that you can login to your system using the following command

vagrant ssh

This is the simple ssh and all the commands will run like the same.

If you are done with the machine run the command

vagrant destroy

Vagrant will terminate the use of any resources by the virtual machine.

If you want to remove all the box files you can try running

vagrant box remove

 


Gaurav Yadav

Gaurav is a Full Stack Web Developer and Blogger. Sportsperson by heart and loves football. He has experience with various frameworks in php, python and javascript. Loves to explore new frameworks and evolve with the trending technology.

Leave a Reply

Your email address will not be published. Required fields are marked *