Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Multi-hops with Net::OpenSSH

by silent11 (Vicar)
on Jun 19, 2009 at 16:32 UTC ( #773077=note: print w/replies, xml ) Need Help??


in reply to Re^2: Multi-hops with Net::OpenSSH
in thread Multi-hops with Net::OpenSSH

Hi salva,

Do I include this this on ScriptA or ScriptB?

ScriptA ssh's to $host1 and executes ScriptB which ssh's to $host2.

I tried adding it to ScriptB but get the following error from Net::OpenSSH::new() (which is where my error is coming from)
Invalid or bad combination of option ('tty')

Thanks!

Replies are listed 'Best First'.
Re^4: Multi-hops with Net::OpenSSH
by salva (Abbot) on Jun 22, 2009 at 07:38 UTC
    Do I include this this on ScriptA or ScriptB?

    I can't tell you without seeing the scripts source code! post them.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://773077]
help
Chatterbox?
[ambrus]: "could evacuate to open schoolyard and then call or go back to school" => wait what? like power cycling the school building by removing all the kids and then reentering them? how would that fix the problems?
[ambrus]: https://www.xkcd. com/723/ is relevant about earthquakes and phones
[ambrus]: must be this earthquake
[ambrus]: (It's convenient that I live in a place with no earthquakes or hurricanes. One less bad thing to look out for.)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2017-01-18 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (161 votes). Check out past polls.