http://www.perlmonks.org?node_id=942230


in reply to Re^2: Net::OpenSSH changing directory does not work properly
in thread Net::OpenSSH changing directory does not work properly

Aha - I overlooked $ssh->open2pty. Thank you.

I agree that for a handful of serial-dependent commands the shell overhead is excessive, but at some point I believe it becomes worthwhile.