SyntaxFix
Write A Post
Hire A Developer
Questions
Quickest and easiest way is to use the 'at' command:
ssh user@target "at now -f /home/foo.sh"