Add support for SSH config file to to 'vagrant ssh' command
This commit is contained in:
parent
122ef7307c
commit
9d72feb36c
|
@ -178,6 +178,10 @@ module Vagrant
|
||||||
"-o", "ForwardX11Trusted=yes"]
|
"-o", "ForwardX11Trusted=yes"]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if ssh_info[:config]
|
||||||
|
command_options += ["-F", ssh_info[:config]]
|
||||||
|
end
|
||||||
|
|
||||||
if ssh_info[:proxy_command]
|
if ssh_info[:proxy_command]
|
||||||
command_options += ["-o", "ProxyCommand=#{ssh_info[:proxy_command]}"]
|
command_options += ["-o", "ProxyCommand=#{ssh_info[:proxy_command]}"]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue