Mailinglist Archive: opensuse (1695 mails)
| < Previous | Next > |
Re: [opensuse] How to quickly get Remote Data from another box? bash? http?
- From: Anders Johansson <ajohansson@xxxxxxx>
- Date: Thu, 25 Sep 2008 15:27:12 +0200
- Message-id: <200809251527.13132.ajohansson@xxxxxxx>
On Thursday 25 September 2008 10:14:26 David C. Rankin wrote:
The general case of "retrieving script output" has no good solution (that I'm
aware of). I think you're stuck with using ssh. But note that you don't have
to redirect to a remote file and then fetch it, you can just redirect the
output to a file locally
ssh user@host command > outputfile
will generate the file locally
But in the special case of sensor data, I think the easiest is to use snmp. It
was designed for this very thing, to get remote information for local use
Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
This option seemed like trying to kill a mosquito with shotgun. What are
some of the other ways you employ to get this type of script output back
from a remote host? I'm looking for something lightweight and fast --
aren't we all. Any ideas would be greatly appreciated. Thanks.
The general case of "retrieving script output" has no good solution (that I'm
aware of). I think you're stuck with using ssh. But note that you don't have
to redirect to a remote file and then fetch it, you can just redirect the
output to a file locally
ssh user@host command > outputfile
will generate the file locally
But in the special case of sensor data, I think the easiest is to use snmp. It
was designed for this very thing, to get remote information for local use
Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |