Exit the SSH session before vagrant destroy

How to exit the session: http://superuser.com/questions/704032/how-to-exit-ssh-of-vagrant-in-terminal
This commit is contained in:
ondine 2016-03-31 11:36:16 -07:00
parent 4641aa767b
commit 8de78f5c5f
1 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,12 @@ delete all those files. Shared folders will be covered in the next section.
Take a moment to think what just happened: With just one line of configuration
and one command in your terminal, we brought up a fully functional, SSH accessible
virtual machine. Cool.
virtual machine. Cool. The SSH session can be terminated with `CTRL+D`.
```
vagrant@precise64:~$ logout
Connection to 127.0.0.1 closed.
```
When you are done fiddling around with the machine, run `vagrant destroy`
back on your host machine, and Vagrant will terminate the use of any resources