mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Include -n option for forwarded port ssh processes
In configurations where ControlMaster is used with ControlPersist set, not including this option results in "stolen" input.
This commit is contained in:
@@ -120,7 +120,7 @@ module VagrantPlugins
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
ssh_cmd << "ssh #{options} #{params}"
|
ssh_cmd << "ssh -n #{options} #{params}"
|
||||||
|
|
||||||
@logger.debug "Forwarding port with `#{ssh_cmd}`"
|
@logger.debug "Forwarding port with `#{ssh_cmd}`"
|
||||||
log_file = ssh_forward_log_file(host_ip, host_port,
|
log_file = ssh_forward_log_file(host_ip, host_port,
|
||||||
|
|||||||
Reference in New Issue
Block a user