From 703513bd0f77ad9827c5fdd58a0c488e978d9110 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Fri, 7 Oct 2016 16:50:12 -0700 Subject: [PATCH] Revert "Fix incorrect ssh-config output when '--host' is defined" This reverts commit c77326438b86a40bbc0d3ec93bbea7ec520392db. --- plugins/commands/ssh_config/command.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/commands/ssh_config/command.rb b/plugins/commands/ssh_config/command.rb index 7e8a5ce84..7df07ff6e 100644 --- a/plugins/commands/ssh_config/command.rb +++ b/plugins/commands/ssh_config/command.rb @@ -32,10 +32,6 @@ module VagrantPlugins ssh_info = machine.ssh_info raise Vagrant::Errors::SSHNotReady if ssh_info.nil? - if options[:host] && options[:host].to_s != machine.name.to_s - next - end - variables = { host_key: options[:host] || machine.name || "vagrant", ssh_host: ssh_info[:host],