summaryrefslogtreecommitdiff
path: root/devdocs/vagrant/cli%2Fssh_config.html
blob: 356a73ec86e29bcff40f05c2f7b37481d9b57528 (plain)
1
2
3
4
5
6
7
<h1 id="ssh-config">  SSH Config </h1> <p><strong>Command: <code>vagrant ssh-config [name|id]</code></strong></p> <p>This will output valid configuration for an SSH config file to SSH into the running Vagrant machine from <code>ssh</code> directly (instead of using <code>vagrant ssh</code>).</p> <h2 id="options">  Options </h2> <ul> <li>
<a href="#host-name"><code>--host NAME</code></a> - Name of the host for the outputted configuration. </li> </ul><div class="_attribution">
  <p class="_attribution-p">
    &copy; 2010&ndash;2018 Mitchell Hashimoto<br>Licensed under the MPL 2.0 License.<br>
    <a href="https://www.vagrantup.com/docs/cli/ssh_config.html" class="_attribution-link">https://www.vagrantup.com/docs/cli/ssh_config.html</a>
  </p>
</div>