1
The problem: I have a backup program (BackupAssist) that can run scripts automatically after a backup. I want to automatically shut down the computer that stores my offsite backups after the backup completes. I have the shutdown part working (with keys instead of passwords so it would work in a script), but I don't know how to send the Linux box a command without using an interactive shell like Cygwin.
I need to be able to send the command with no user interaction at all. A way to simply execute commands from Cygwin in scripts would be ideal, but any solution will do.
2PuTTY has an equivalent,
plink
. – user1686 – 2012-06-13T21:12:21.347@grawity Ah! All I had been able to find was PuTTY's
-m
argument, which seemed kind of clumsy for this. – Darth Android – 2012-06-13T21:17:33.803