You can use the ssh command to execute a remote command like this:
ssh username:password@hostaddress command
so, it might end up looking like this in your app:
system("ssh jsmith:email@example.com sh ~/sendbackup.sh");
or something like that. It would get a lot more tricky when you have a series of commands to execute, though.
no smiles now :) -Captain Code
Last edited by Captain Code; March 5th, 2003 at 10:05 AM.
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white