vagrant/website/docs/source/v2/cli/ssh_config.html.md

385 B

page_title sidebar_current
vagrant ssh-config - Command-Line Interface cli-ssh_config

SSH Config

Command: vagrant ssh-config

This will output valid configuration for an SSH config file to SSH into the running Vagrant machine from ssh directly (instead of using vagrant ssh).

Options

  • --host NAME - Name of the host for the outputted configuration.