commands.sh

vagrant ssh

all

SSH into a running Vagrant machine. See also: `vagrant`.

More info →

Options (2)

-c, --commandboolean

Execute an SSH command and exit

Example: vagrant ssh {{[-c|--command]}} {{ssh_command}}
-p, --plainboolean

SSH without authentication, leaving authentication up to the user

Example: vagrant ssh {{[-p|--plain]}}

Examples (4)

SSH into the machine running in the current directory

Target a running machine by name or ID

vagrant ssh name|id

Execute an SSH command and exit

vagrant ssh [-c|--command] ssh_command

SSH without authentication, leaving authentication up to the user

vagrant ssh [-p|--plain]
made by @shridhargupta | data from tldr-pages