I'm thinking about it again, and we would ideally have some way of doing it without having to enter a password. We could modify sudo to only require a password once (this might even survive reboots). Either that or we could
chmod 4755 ifup, so that it is run as root by who ever runs it. But sudo is a better solution if it works.
There is a manual for putty
here. Chapters 7 and 8 are the ones to read.
You generate a pair of private and public keys on the Windows machine using puttyGen. Then the public key is copied to the server and added to the authorized_keys file. Using plink (a command line ssh client for Windows), you can ssh into the server without having to enter a password and execute a command (
ifup ppp0 or something like that). This Windows command can be put into a shortcut and hidden among the others on the desktop.
We need admin access to the office machine - so we can install putty, puttyGen and plink. If someone wants to do this ahead of time, they are all
here. I found a problem with the 0.58 release, but the snapshot worked fine (for putty). If you have access, Neil, then this won't take 2 minutes, so we can do it on the day. When shall we meet?