Files
tldr/pages/common/vagrant-ssh-config.md
T
Shelly David a7cd184e07 vagrant-{init, ssh-config}: add page (#19750)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Lena Pastwa <lena@lnps.me>
2025-12-07 15:56:58 +01:00

391 B

vagrant ssh-config

Display configuration to SSH into a Vagrant machine manually (instead of using vagrant ssh). See also: vagrant. More information: https://developer.hashicorp.com/vagrant/docs/cli/ssh_config.

  • Get SSH configuration for the machine running in the current directory:

vagrant ssh-config

  • Target a machine by name or ID:

vagrant ssh-config {{name|id}}