Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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');

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2016-06-26 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (328 votes). Check out past polls.