Just an idea: can you wrap the remote command in a script on the remote side that does what you want?
As for your other solution, I can't seem to find any documentation on break_client_loop, so I'm not sure if using an undocumented method is the most portable / robust solution.
In reply to Re: Net::SSH::Perl - Breaking out of a running command?
by Anonymous Monk
in thread Net::SSH::Perl - Breaking out of a running command?
by cmv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |