Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Net::OpenSSH -T option

by salva (Abbot)
on Aug 10, 2013 at 06:58 UTC ( #1048882=note: print w/ replies, xml ) Need Help??

in reply to Net::OpenSSH -T option

Adding -T to the ssh command line used to start the master connection is useless.

Once you a have Net::OpenSSH object connected to the remote host, you can run remote commands without a tty using the tty flag:

$ssh->system({tty => 0}, 'ls -l');

Comment on Re: Net::OpenSSH -T option
Select or Download Code
Replies are listed 'Best First'.
Re^2: Net::OpenSSH -T option
by kwolfte (Initiate) on Aug 12, 2013 at 22:02 UTC

    Thanks. It seems that RequestTty=no is only available for more recent versions of openssh, unfortunately. I could use the -T option but that's ok now, the tty flag will do

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1048882]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2015-11-30 11:17 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (769 votes), past polls