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


in reply to Net::OpenSSH -T option

I believe the option 'RequestTTY=no' should have the same effect as '-T' (but not tested) so you could pass that with the BatchMode option.