SSH Config
Command: vagrant ssh-config [name|id]
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.
© 2010–2018 Mitchell Hashimoto
Licensed under the MPL 2.0 License.
https://www.vagrantup.com/docs/cli/ssh_config.html