Running a script using ssh.   The user will need to add the '-n' flag to their 'ssh' command. Without that, 'ssh' will consume everything placed on Standard Input, and the Agent won't know that the task has finished.