Hello Philippe,
Is it possible to login with ssh, start a script and log out? Yes, it is. But you needn't even do this, the solution is still easier.
I got a APC with only one USV cable and no additional module for serial-connectors (smart ups 700). Powerchute cannot stop this machine from remote without a cable or a network module, can it? Afaik, yes. The UPS 700 is only a small one. We have the UPS 5000 with a built-in NIC, so we use PowerChute network shutdown. But still we have the same problem as you for our machines in the DMZ.
I want to shutdown a second machine remotely. I solved this problem by running a script on the machine connected to the UPS with this simple line: "ssh <remote-machine> shutdown -h now"
This runs before shutdown of local machine runs with a dalay. Is it possible to login as user with ssh and authentification via keyfile? Yes, of course.
What is to be set in the /etc/ssh/sshd_config? Nothing special, afaik. Good luck Uli -- Ulrich Roth IMPACT Business & Technology Consulting GmbH Im Mediapark 8 / KölnTurm D-50670 Koeln Phone +49-221-93 70 80-29 Fax +49-221-93 70 80-15 E-Mail: roth@impact.de