From: Antoine <melser.anton@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Solved - Re: [gentoo-user] autoexpect?
Date: Sun, 27 Nov 2005 18:29:59 +0100 [thread overview]
Message-ID: <4389ED17.90501@gmail.com> (raw)
In-Reply-To: <20051127072924.GA25324@waltdnes.org>
Walter Dnes wrote:
> On Fri, Nov 25, 2005 at 08:00:09PM +0100, Andres Becerra Sandoval wrote
>
>
>>If you create a private-public pair with ssh-keygen you can access to
>>the other machine without a password. Then your script would call ssh
>>and probably "sudo /sbin/poweroff" as a parameter to halt the remote
>>machine.
Thanks for all your suggestions, as I basically wanted to create an icon
on the desktop to turn off the firewall/server, I went with expect. I
also discovered cygwin on my journeys so am very happy - I just have a
single script for all systems.
I didn't read the docs carefully enough, and didn't see that autoexpect
is just a script, so downloading from the expect site + gentoo expect
solved it for gentoo.
Cheers
Antoine
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-11-27 17:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-25 18:44 [gentoo-user] autoexpect? Antoine
2005-11-25 19:00 ` Andres Becerra Sandoval
2005-11-27 7:29 ` Walter Dnes
2005-11-27 17:29 ` Antoine [this message]
2005-11-25 19:00 ` Rob Oravec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4389ED17.90501@gmail.com \
--to=melser.anton@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox