[wplug] how to force ssh session to exit before all commands complete?

Alexandros Papadopoulos apapadop at alumni.cmu.edu
Mon Nov 29 01:30:28 EST 2004


On Friday 26 November 2004 18:28, John Harrold wrote:
> Sometime in November Alexandros Papadopoulos assaulted the keyboard 
and produced:
> | I'm attaching the script in case it gives some insight, although
> | I'm pretty sure everything will be fine if I can find a way to exit
> | the ssh shell as soon after a command is launched, but before that
> | command completes. The problem occurs in lines 18, 36 and 54 (once
> | for each VPN endpoint).
>
> Have you though about using 'at'. Something along the lines of 'at
> now + 10sec run your command', then exit. Ten seconds later it sould
> run the script?

Ah, but of course! The majesty of a clear perspective... that works 
around the problem just fine, thanks John!

-A


More information about the wplug mailing list