2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 02:30:21 +00:00

Propagate signal via ssh even though pipe broken can not be detected

Add `-tt` option to force tty allocation when running ssh command

close-issue: #1609
This commit is contained in:
chenglch
2016-07-31 22:47:47 -04:00
parent 1493386f17
commit caadc87bb5

View File

@@ -75,6 +75,7 @@ sub remote_shell_command {
if ($ssh_version eq 'OpenSSH') {
push @command, '-o';
push @command, 'BatchMode=yes';
push @command, '-tt';
($$config{'options'} !~ /-X/) && push @command, '-x';
}