1 |
Walter Dnes wrote: |
2 |
> On Fri, Nov 25, 2005 at 08:00:09PM +0100, Andres Becerra Sandoval wrote |
3 |
> |
4 |
> |
5 |
>>If you create a private-public pair with ssh-keygen you can access to |
6 |
>>the other machine without a password. Then your script would call ssh |
7 |
>>and probably "sudo /sbin/poweroff" as a parameter to halt the remote |
8 |
>>machine. |
9 |
|
10 |
Thanks for all your suggestions, as I basically wanted to create an icon |
11 |
on the desktop to turn off the firewall/server, I went with expect. I |
12 |
also discovered cygwin on my journeys so am very happy - I just have a |
13 |
single script for all systems. |
14 |
I didn't read the docs carefully enough, and didn't see that autoexpect |
15 |
is just a script, so downloading from the expect site + gentoo expect |
16 |
solved it for gentoo. |
17 |
Cheers |
18 |
Antoine |
19 |
-- |
20 |
gentoo-user@g.o mailing list |