Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Multilevel SSH

by davidsnt (Novice)
on Oct 16, 2012 at 12:03 UTC ( #999302=note: print w/ replies, xml ) Need Help??


in reply to Re: Multilevel SSH
in thread Multilevel SSH

On ServerC I have few scripts that has to be executed and I collect the output of the script to parse and get some results. Now I do this manually, login to servers one by one to get the things done


Comment on Re^2: Multilevel SSH
Re^3: Multilevel SSH
by blue_cowdawg (Monsignor) on Oct 16, 2012 at 12:36 UTC

    My approach on ServerC would be to run that set of scripts out of cron (or whatever the local equivalent is) and modify the script to send the output to me one way or another.

    The "send it to me" methods could be a network share (NFS,CFS,AFS,whatever), an FTP (preferably SFTP) or as a last resort email. If you had an aggregator script on ServerB you could have ServerB pick up the output from a spool directory on ServerC and put it in a local directory. Then ServerA could pick that output up and pull it to its local directory where you could pick it up. Sorta a Rube Goldberg arrangement but I've seen worse.

    I make computers work for me... I don't work for them. :-)


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

      This approach might not work better for me as the script has to be executed whenever the user needs, I need to provide an interface to the script

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2014-12-29 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls