vaguerent/website/source/docs/cli/connect.html.md
Seth Vargo 5093f3120e Merge docs and www into a single static site
This is a big commit, and I apologize in advance for the future
git-blames all pointing to me. This commit does a few things:

1.  Merges the website/docs and website/www repo into a single website repo
    to be in line with other HashiCorp projects
2.  Updates to use middleman-hashicorp
3.  Converts less to scss to be in line with other projects
4.  Updates page styles to be in line with other projects
5.  Optimizes images
6.  Prepare for S3 + Fastly deployment with scripts, etc.
7.  Removes blog posts (they have been transferred to hashicorp.com with
    redirects in place
8.  Updated sitemap generation script for better SEO
9.  Fixed many broken links
10. Add description to all fields
2016-01-19 14:35:05 -05:00

35 lines
1.1 KiB
Markdown

---
layout: "docs"
page_title: "vagrant connect - Command-Line Interface"
sidebar_current: "cli-connect"
description: |-
The "vagrant connect" command compliments the "vagrant share" command to allow
a user to remotely connect to your Vagrant environment.
---
# Connect
**Command: `vagrant connect NAME`**
The connect command compliments the
[share command](/docs/cli/share.html) by enabling access to shared
environments. You can learn about all the details of Vagrant Share in the
[Vagrant Share section](/docs/share/).
The reference of available command-line flags to this command
is available below.
## Options
* `--disable-static-ip` - The connect command will not spin up a small
virtual machine to create a static IP you can access. When this flag is
set, the only way to access the connection is to use the SOCKS proxy
address outputted.
* `--static-ip IP` - Tells connect what static IP address to use for the virtual
machine. By default, Vagrant connect will use an IP address that looks
available in the 172.16.0.0/16 space.
* `--ssh` - Connects via SSH to an environment shared with
`vagrant share --ssh`.