Mailinglist Archive: opensuse (3254 mails)
| < Previous | Next > |
Re: [SLE] remote ssh command execution
- From: zentara <zentara@xxxxxxxxxxx>
- Date: Sun, 1 Sep 2002 11:41:46 -0400
- Message-id: <20020901114146.29d425e2.zentara@xxxxxxxxxxx>
On Sun, 01 Sep 2002 07:36:16 -0700
Bill Parker <dogbert@xxxxxxxxxxxxx> wrote:
> Hi All,
>
> I was wondering, lets assume I have two computers, A & B,
> and from the desktop of computer A, I have a person click on a icon which
> runs a shell script which contains the following:
>
> ssh <someuser>@<some_ipaddr> sudo /etc/init.d/apache stop (or start)
>
> how can I make ssh NOT prompt the user for a password (but authentication
> via some other method, etc) and execute the command in question? I did read
> up on ssh-add and ssh-agent, but i'm not getting the hang of it?
Go read these articles:
http://www-106.ibm.com/developerworks/library/l-keyc2/
--
use Perl; #powerful programmable prestidigitation
Bill Parker <dogbert@xxxxxxxxxxxxx> wrote:
> Hi All,
>
> I was wondering, lets assume I have two computers, A & B,
> and from the desktop of computer A, I have a person click on a icon which
> runs a shell script which contains the following:
>
> ssh <someuser>@<some_ipaddr> sudo /etc/init.d/apache stop (or start)
>
> how can I make ssh NOT prompt the user for a password (but authentication
> via some other method, etc) and execute the command in question? I did read
> up on ssh-add and ssh-agent, but i'm not getting the hang of it?
Go read these articles:
http://www-106.ibm.com/developerworks/library/l-keyc2/
--
use Perl; #powerful programmable prestidigitation
| < Previous | Next > |