Start the VM if it isn’t already started, then login to the virtual
machine using vagrant ssh
cd ~/vms/myproject && vagrant upvagrant ssh
cd to the vagrant project and invoke | |
use ssh to login to your machine |
![]() | Tip |
---|---|
If you would like to use another ssh client such as PuTTy, you may. Login to your machine via PuTTy using username=vagrant password=vagrant |
![]() | Note |
---|---|
Vagrant boxes tend to have a username named vagrant defined
already. The most natural and friction-less way of using vagrant is to
simply use this default credentials. Having said that, you can use a
credential of your choosing, you just need to do some work. It
involves (a) creating your desired username either via the |
If you want to quit your vagrant session, just type exit
at the
prompt.