Fixing ssh_config proxy_command is not included

This commit is contained in:
Lukasz Jastrzebski 2014-02-09 16:27:32 -08:00
parent 8d3afa73d2
commit 654870a185
2 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,8 @@ module VagrantPlugins
:ssh_user => ssh_info[:username], :ssh_user => ssh_info[:username],
:private_key_path => ssh_info[:private_key_path], :private_key_path => ssh_info[:private_key_path],
:forward_agent => ssh_info[:forward_agent], :forward_agent => ssh_info[:forward_agent],
:forward_x11 => ssh_info[:forward_x11] :forward_x11 => ssh_info[:forward_x11],
:proxy_command => ssh_info[:proxy_command]
} }
# Render the template and output directly to STDOUT # Render the template and output directly to STDOUT

View File

@ -20,3 +20,6 @@ Host <%= host_key %>
<% if forward_x11 -%> <% if forward_x11 -%>
ForwardX11 yes ForwardX11 yes
<% end -%> <% end -%>
<% if proxy_command -%>
ProxyCommand <%= proxy_command %>
<% end -%>