Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: Multilevel SSH

by blue_cowdawg (Monsignor)
on Oct 16, 2012 at 12:36 UTC ( #999316=note: print w/replies, xml ) Need Help??

in reply to Re^2: Multilevel SSH
in thread Multilevel SSH

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

Replies are listed 'Best First'.
Re^4: Multilevel SSH
by davidsnt (Novice) on Oct 17, 2012 at 07:01 UTC

    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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999316]
[shmem]: I don't know geany, and don't know whether it has support for ctags.
[Lady_Aleena]: ctags?
[shmem]: ctags is a program which (recursively) extracts the symbols from source and stores them in a one-file database. This allows you to query the locations where these symbols (e.g. a subroutine name) are used anywhere in the source code tree...
[shmem]: ...from inside the editor.
[shmem]: apt-get install exuberant-ctags
[Lady_Aleena]: I think I heard vim has a big learning curve.
[shmem]: then in the root of your source tree run: ctags -R
[shmem]: you get a file named tags where all symbols and the places where they are used are listed

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-04-27 12:09 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (505 votes). Check out past polls.