Date: Thu, 28 Mar 2002 09:39:57 +0100 From: Damir Horvat <damir@voljatel.si> To: freebsd-security@freebsd.org Subject: Re: using ssh to run remote commands? Message-ID: <20020328093957.0bd6a3b0.damir@voljatel.si> In-Reply-To: <20020327152947.B443@iib.unsam.edu.ar> References: <20020327152947.B443@iib.unsam.edu.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Mar 2002 15:29:47 -0300 Fernan Aguero <fernan@iib.unsam.edu.ar> wrote: > I'd like to know how to run remote commands using ssh. This has allready been explained as I can see. But the nice thing about this whole thing is being lazy. I do all my MRTG's like this .... No need for SNMPD. example: ssh user@mailserver grep sent /var/log/maillog | wc -l ssh user@mailserver grep deferred /var/log/maillog | wc -l you feed this to MRTG and get nice graph of sent and deferred mails. Like I said, being lazy is a good thing. regards, damir -- ................................. Damir Horvat System administrator VOLJATEL telekomunikacije d.d. Smartinska 106 SI-1000 Ljubljana Slovenia . Tel. +386.(0)1.5875 832 Fax. +386.(0)1.5875 899 www.voljatel.si E-mail: damir.horvat@voljatel.si ................................. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020328093957.0bd6a3b0.damir>