How to Create a Share

Heads up! You'll need the latest version of Vagrant installed to use this feature.

HTTP

Share the active HTTP server in your environment.

  1. Run vagrant login and enter your Atlas by HashiCorp details
  2. Boot a Vagrant environment and verify it's running an HTTP server
  3. Run vagrant share. You're done!

SSH

Share SSH access to your environment.

  1. Run vagrant login and enter your Atlas by HashiCorp details
  2. Boot a Vagrant environment
  3. Run vagrant share --ssh
  4. Enter a password for encrypting the SSH key
  5. Give your Share name and the password to a friend and have them run vagrant connect --ssh [SHARE NAME]

Connect

Share any port in your environment.

  1. Run vagrant login and enter your Atlas by HashiCorp details
  2. Boot a Vagrant environment
  3. Run vagrant share --disable-http
  4. Give your Share name to a friend and have them run vagrant connect [SHARE NAME]