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?
TIA
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Multi-hops with Net::OpenSSH
by ig (Vicar) on May 29, 2009 at 20:53 UTC | |
Re: Multi-hops with Net::OpenSSH
by Khen1950fx (Canon) on May 29, 2009 at 19:43 UTC | |
Re: Multi-hops with Net::OpenSSH
by jpavel (Sexton) on May 29, 2009 at 19:27 UTC | |
by salva (Canon) on May 29, 2009 at 20:07 UTC | |
by silent11 (Vicar) on Jun 19, 2009 at 16:32 UTC | |
by salva (Canon) on Jun 22, 2009 at 07:38 UTC |
Back to
Seekers of Perl Wisdom