|Perl Monk, Perl Meditation|
Multi-hops with Net::OpenSSHby silent11 (Vicar)
|on May 29, 2009 at 17:55 UTC||Need Help??|
silent11 has asked for the
wisdom of the Perl Monks concerning the following question:
I'm sure my question is less about the module, Net::OpenSSH, and more about SSH in general.
I have a script, ScriptA, that SSH's into a machine and executes ScriptB, which also SSH's into a machine to do some work.
ScriptA must call ScriptB, as ScriptA is a sort of workflow framework that our group runs scripts out of.
My issue is when ScriptA SSH's into the machine containing ScriptB and attempts to execute it, I get this error:
Error: could not connect pty as controlling terminal!
Is there a limit to the number of times a script can SSH out , calling other scripts that SSH? Or do I need to override some setting, or pass an option to Net::OpenSSH to allow this?