Subject: | Would like remove need for IO::Pty |
When using programs on the remote side like su or sudo, I'm required to use open3pty. The
problem with this is it forces me to use IO::Pty, which forces me to use Expect.
Is there a way to use open3 but spoof the remote end that we're in a terminal? A Quick look at
Net::OpenSSH::Perl::SSH2 seems to indicate that we're only talking about 1 packet of data on a
control channel. (see use_pty in the code).
This would remove my need to have to use Expect in my code.