Thank you and this is a good suggestion.
In debugging I have found that perl hangs in Net::SSH::Perl::SSH2 in the routine 'sub client_loop' in the line 'my($rready, $wready) = $select_class->select($rb, $wb);' but I do not have enough understanding to see why. I hope you or some kind monks can shed some light on this.
Also it is strange the same works with output to STDOUT.
In reply to Re^8: Script hangs when executing command over ssh
by eg2014
in thread Script hangs when executing command over ssh
by eg2014
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |