These instructions provide you with three different methods to log in to your box using SSH.
1. Using The Vagrant SSH Client
Vagrant comes with it's own SSH client which allows you to log in to your box
directly from the command line without the need for any additional SSH client
software. To log in to your box make sure that you are in the
folder on your local machine before running:
2. Using a Command Line SSH Client
To log in to your box using the SSH clients that come integrated with Mac, Linux and the Git Bash run the following command anywhere on your local system:
Note: if you have updated your local hosts file you can also run
3. Using Putty (Windows)
Windows users are encouraged to use Putty as their preferred SSH client as this will simplify their workflow and guarantee that all cakebox functionality will function as expected.
Note: Make sure that you have created the cakebox_rsa.ppk key as described here.
To create a Putty connection configuration for your box:
- Start Putty
- Set hostname to IP address
cakeboxif you have updated your hosts file)
- Select Connection > Data and set
vagrantas the auto-login username
- Select Connection > SSH > Auth
- Press Browse to select your
- Select Session
- Press Save to save your configuration
- Press Open to login to your box
Note: Next time simply connect to your box by double clicking the connection.