diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/vagrant/cli%2Fshare.html | |
new repository
Diffstat (limited to 'devdocs/vagrant/cli%2Fshare.html')
| -rw-r--r-- | devdocs/vagrant/cli%2Fshare.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devdocs/vagrant/cli%2Fshare.html b/devdocs/vagrant/cli%2Fshare.html new file mode 100644 index 00000000..7055ffa9 --- /dev/null +++ b/devdocs/vagrant/cli%2Fshare.html @@ -0,0 +1,13 @@ +<h1 id="share"> Share </h1> <p><strong>Command: <code>vagrant share</code></strong></p> <p>The share command initializes a Vagrant Share session, allowing you to share your Vagrant environment with anyone in the world, enabling collaboration directly in your Vagrant environment in almost any network environment.</p> <p>You can learn about all the details of Vagrant Share in the <a href="../share/index">Vagrant Share section</a>.</p> <p>The reference of available command-line flags to this command is available below.</p> <h2 id="options"> Options </h2> <ul> <li> +<p><a href="#disable-http"><code>--disable-http</code></a> - Disables the creation of a publicly accessible HTTP endpoint to your Vagrant environment. With this set, the only way to access your share is with <code>vagrant connect</code>.</p> </li> <li> +<p><a href="#http-port"><code>--http PORT</code></a> - The port of the HTTP server running in the Vagrant environment. By default, Vagrant will attempt to find this for you. This has no effect if <code>--disable-http</code> is set.</p> </li> <li> +<p><a href="#https-port"><code>--https PORT</code></a> - The port of an HTTPS server running in the Vagrant environment. By default, Vagrant will attempt to find this for you. This has no effect if <code>--disable-http</code> is set.</p> </li> <li> +<p><a href="#ssh"><code>--ssh</code></a> - Enables SSH sharing (more information below). By default, this is not enabled.</p> </li> <li> +<p><a href="#ssh-no-password"><code>--ssh-no-password</code></a> - Disables the encryption of the SSH keypair created when SSH sharing is enabled.</p> </li> <li> +<p><a href="#ssh-port-port"><code>--ssh-port PORT</code></a> - The port of the SSH server running in the Vagrant environment. By default, Vagrant will attempt to find this for you.</p> </li> <li> +<p><a href="#ssh-once"><code>--ssh-once</code></a> - Allows SSH access only once. After the first attempt to connect via SSH to the Vagrant environment, the generated keypair is destroyed.</p> </li> </ul><div class="_attribution"> + <p class="_attribution-p"> + © 2010–2018 Mitchell Hashimoto<br>Licensed under the MPL 2.0 License.<br> + <a href="https://www.vagrantup.com/docs/cli/share.html" class="_attribution-link">https://www.vagrantup.com/docs/cli/share.html</a> + </p> +</div> |
