Start ssh with -f instead of -n to avoid ssh hangs.
This seems to resolve #833.
This commit is contained in:
+1
-1
@@ -346,7 +346,7 @@ die "$0: fork: $!\n" unless ( defined $pid );
|
|||||||
if ( $pid == 0 ) { # child
|
if ( $pid == 0 ) { # child
|
||||||
open(STDERR, ">&STDOUT") or die;
|
open(STDERR, ">&STDOUT") or die;
|
||||||
|
|
||||||
my @sshopts = ( '-n' );
|
my @sshopts = ( '-f' );
|
||||||
if ($ssh_pty) {
|
if ($ssh_pty) {
|
||||||
push @sshopts, '-tt';
|
push @sshopts, '-tt';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user