Skip to content

Instantly share code, notes, and snippets.

@jfeliweb
Created May 8, 2016 00:38
Show Gist options
  • Select an option

  • Save jfeliweb/863a48b53f5652818d17d4a227bc77db to your computer and use it in GitHub Desktop.

Select an option

Save jfeliweb/863a48b53f5652818d17d4a227bc77db to your computer and use it in GitHub Desktop.
How to Create a Share
Heads up! You'll need the latest version of Vagrant installed to use this feature.
HTTP
1) Share the active HTTP server in your environment.
Run vagrant login and enter your Atlas by HashiCorp details
Boot a Vagrant environment and verify it's running an HTTP server
Run vagrant share. You're done!
SSH
2) Share SSH access to your environment.
Run vagrant login and enter your Atlas by HashiCorp details
Boot a Vagrant environment
Run vagrant share --ssh
Enter a password for encrypting the SSH key
Give your Share name and the password to a friend and have them run vagrant connect --ssh [SHARE NAME]
Connect
3) Share any port in your environment.
Run vagrant login and enter your Atlas by HashiCorp details
Boot a Vagrant environment
Run vagrant share --disable-http
Give your Share name to a friend and have them run vagrant connect [SHARE NAME]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment