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:
Chris Roberts
2018-11-05 15:41:23 -08:00
parent 816d344f03
commit e968de7269

View File

@@ -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,