mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 15:44:27 +00:00
19 lines
484 B
Plaintext
19 lines
484 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|