mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
21 lines
516 B
Ruby
21 lines
516 B
Ruby
# Copyright IBM Corp. 2010, 2025
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module CommandSSHConfig
|
|
class Plugin < Vagrant.plugin("2")
|
|
name "ssh-config command"
|
|
description <<-DESC
|
|
The `ssh-config` command dumps an OpenSSH compatible configuration
|
|
that can be used to quickly SSH into your virtual machine.
|
|
DESC
|
|
|
|
command("ssh-config") do
|
|
require File.expand_path("../command", __FILE__)
|
|
Command
|
|
end
|
|
end
|
|
end
|
|
end
|