in reply to Re^4: Net::OpenSSH tty error
in thread Net::OpenSSH tty error

Need to know how to configure Net::OpenSSH to always appear as a user sitting at a terminal making command line entries.

Then use the open2pty method, maybe with Expect. It's documented here.

Replies are listed 'Best First'.
Re^6: Net::OpenSSH tty error
by Anonymous Monk on Nov 25, 2013 at 14:04 UTC
    Try to add 'tty => 1' to your 'capture' options:
    my @ls = $ssh->capture( { tty => 1}, $cmd);