Re: Running a Command Remotely

Stealth
Fri, 25 Mar 2011 17:34:53 -0000

A ssh command ?

|ssh -i toto.key root@10.1.1.1 ''ls -la''|

Le 25/03/2011 17:34, CACook@quantum-sci.com a écrit :
> This is a little off topic, but I haven''t been able to find an
answer elsewhere.  I need to run a command on another machine on my LAN.  I have
a backup server which does weekly rsync backups of the other machines.  But when
the time comes for it to be backed up I do an rsync push to one of the other
machines.  When that''s done I must initiate a BTRFS snapshot of this
machine''s backup on that remote machine.
>
> So from my backup server I need to run a command on another machine,
hopefully securely.  Anyone know a way?  Backup server has root privs on all
machines with public key.  I understand the risks, and have been careful with
security on this machine.
>
>
>
------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Shorewall-users mailing list
> Shorewall-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
>



------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar