[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] xymon ssh scan
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] xymon ssh scan
- From: Vernon Everett <everett.vernon (at) gmail.com>
- Date: Fri, 11 Jun 2010 14:44:52 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=fnhbSRKNw2fFokrDXtLj/3J8aCpXz69gsB8Bs1Zhq/E=; b=wFyZRsdeU9LcQoyHsLMNXZr8nBpn7uTMuGJIspLW89RCvdz0SX3L3IDzKkek+D883x pJshRE0jOOt/0F49aKbI9AJUdT6SPDbi3XufU3zsXJLPJP8r+iv5DBXedmTRgwzPa44m k/TnMUm/jN/U/hN/A623DTNl4brkLtzUFoajc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Sxo5ORozXGYQOFqyAvBdZUBHL5OPSgb2CgeEWvmtdsodyHg0StU+qnYu0GpHb7LlEV wqapiuMsO5dt5cFL05TSxFw3U1xSD2c7uOGKPvHQf/ohYYWEQmqea9RVr7WNU4x5KvaQ gkNIrLzQnNeQwR11aCk+F76q6yTFsbE8C1kPc=
- References: <1CC2019D6A90EC449020595534777D4F8A6EE21A37 (at) VPEXCH03.purdue.lcl> <4C11D46A.9020709 (at) itv-denkendorf.de> <AANLkTinrD-nNKodZw0Ebg_W1CDk3RPV28paL0VzoSAtX (at) mail.gmail.com>
You need something that's on all *nix systems.
/etc/passwd
/etc/hosts
or even /etc/motd
But why use cat?
ssh $HOST ls -la /etc/ will do just as well.
ssh $HOST ls -la /tmp is probably even less of a risk.
If you are testing ssh, any command will do.
ssh $HOST ls -d /tmp is probably best.
You know what the result will be, on all unix systems, and if you get "/tmp"
then ssh works.
Cheers
Vernon
On Fri, Jun 11, 2010 at 2:32 PM, Josh Luthman
<josh (at) imaginenetworksllc.com>wrote:
> What is something that can be executed to make that universal? Is
> /etc/*release on all *nix systems? I know it is on rhel but that's
> it.
>
> On 6/11/10, Andreas Kunberger <andreas.kunberger (at) itv-denkendorf.de> wrote:
> > Why not use simply
> > ssh %host% cat /etc/SuSE-release
> >
> > mfg
> >
> > Andreas
> >
> > --
> >
> >
> > Andreas Kunberger
> > Körschtalstraße 26, 73770 Denkendorf
> >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe (at) hswn.dk
> >
> >
> >
>
>
> --
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> “Success is not final, failure is not fatal: it is the courage to
> continue that counts.”
> --- Winston Churchill
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>