Sha256: 16ad851f37f56ec0f395beb51ef426efb3c051758ce4c5ddc5e4fc8dda8a728f

Contents?: true

Size: 739 Bytes

Versions: 5

Compression:

Stored size: 739 Bytes

Contents

---
page_title: "vagrant ssh - Command-Line Interface"
sidebar_current: "cli-ssh"
---

# SSH

**Command: `vagrant ssh`**

This will SSH into a running Vagrant machine and give you access to a shell.

If a `--` (two hyphens) are found on the command line, any arguments after
this are passed directly into the `ssh` executable. This allows you to pass
any abitrary commands to do things such as reverse tunneling down into the
`ssh` program.

## Options

* `-c COMMAND` or `--command COMMAND` - This executes a single SSH command, prints
  out the stdout and stderr, and exits. stdin will not be functional on this
  executed command.

* `-p` or `--plain` - This does an SSH without authentication, leaving
  authentication up to the user.

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tamtam-vagrant-reload-1.1.3 vendor/cache/vagrant-0ac2a8738841/website/docs/source/v2/cli/ssh.html.md
tamtam-vagrant-reload-1.1.2 vendor/cache/vagrant-0ac2a8738841/website/docs/source/v2/cli/ssh.html.md
tamtam-vagrant-reload-1.1.1 vendor/cache/vagrant-0ac2a8738841/website/docs/source/v2/cli/ssh.html.md
tamtam-vagrant-reload-1.1 vendor/cache/vagrant-0ac2a8738841/website/docs/source/v2/cli/ssh.html.md
tnargav-1.3.3 website/docs/source/v2/cli/ssh.html.md