On Tuesday, April 18, 2017 at 7:50:30 AM UTC-4, john lunzer wrote: > > A lot of my recent work has been on Linux workstations/servers on these > offline networks. These require two levels of SSH to pass through. SSH to > secured computer on corporate network, then SSH to offline workstations. In > fact I usually have several PuTTY terminals open at once, one of them is > always the node the "offline" computers are connected to. I then > painstakingly haul over everything I need by means of scp/rsync. >
I have a similar need for different reason. Because of my disability and use of speech recognition, I'm bound to Windows. However, I do all my work on Linux systems. What I want is for Leo to trigger an rsync to a remote host and then, somehow trigger an install script to update the production environment such as a Web server. The second stage is usually required to cross security perimeters, fix permissions, ownership etc. The first stage would require a plug-in that implements "I saved in this directory, this directory means that machine target, synchronize to that machine target". The second stage requires an inotify reaction routine that knows how to do the appropriate transformations on a file or directory to a given location. Obviously, there would be a lag in copying and synchronization that hopefully wouldn't be too bad. I may take a stab at the second stage soon because this would make my development life easier. The place to start is a way of representing the file/directory and destination PUG (permission, user, group). I did something like this years ago I don't know if I still have the code. John, I suspect you could use something similar except you would need a second and third stage. Where the second stage simply replicates (another rsync). -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
