I would like to execute commands on a remote desktop machine, but SSH would be difficult since the remote is offline most of the time, resides in a time tone 10 hours from mine, and may often be behind a firewall / NAT with an unknown IP. So it will have to pull my commands when it can. I am thinking of something around just kidding.curl http://.../do.sh | bash
Are there tools available that support such a thing?
I am looking for
- Something simple and reasonable stable
- for Linux
- that pulls commands securely from a web address, mailbox, etc,
- does require some form of authorization, of course (for example, does not execute anything unsigned)
- that reports standard output and standard error, and maybe the exit value back to me.
I could provide a server with HTTPS, valid certificates, even sshd if necessary. I think I am able to hack something myself in theory, but I am afraid that would be really time-consuming.
A similar question was asked before, but not really answered (use procmail & code yourself; use our powerful commercial tool for 250$).