Hi Captain Whiplash.
OK, thanks, that works fine!
Updated the known_hosts file locally
and authorized_keys at the other end.
Another question: I've now created a
web interface where I can click on
different buttons and to gather information
from remote server and I also should
be able to stop/start deamons. I would
need to be able to switch to root while
running the script on remote machine.
At the moment it fails (of course) because
the effective user is nobody and I would
need to be able to switch users to root.
Any ways around this? Or is this too dangerous.
Thanks!