Merge pull request #271 from sciurus/ssh-without-sh

Fix port forwarding ssh process cleanup
This commit is contained in:
Brian Pitts
2014-11-01 19:00:52 -05:00

View File

@@ -83,7 +83,8 @@ module VagrantPlugins
gateway_ports)
ssh_info = machine.ssh_info
params = %W(
"-L #{host_ip}:#{host_port}:#{guest_ip}:#{guest_port}"
-L
#{host_ip}:#{host_port}:#{guest_ip}:#{guest_port}
-N
#{ssh_info[:host]}
).join(' ')