You need something that's on all *nix systems.<br>/etc/passwd<br>/etc/hosts<br>or even /etc/motd<br><br>But why use cat?<br>ssh $HOST ls -la /etc/ will do just as well.<br>ssh $HOST ls -la /tmp is probably even less of a risk.<br>
<br>If you are testing ssh, any command will do. <br>ssh $HOST ls -d /tmp is probably best.<br>You know what the result will be, on all unix systems, and if you get "/tmp" then ssh works.<br><br>Cheers<br>     Vernon<br>
<br><br><br><br><div class="gmail_quote">On Fri, Jun 11, 2010 at 2:32 PM, Josh Luthman <span dir="ltr"><<a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What is something that can be executed to make that universal?  Is<br>
/etc/*release on all *nix systems?  I know it is on rhel but that's<br>
it.<br>
<div><div></div><div class="h5"><br>
On 6/11/10, Andreas Kunberger <<a href="mailto:andreas.kunberger@itv-denkendorf.de">andreas.kunberger@itv-denkendorf.de</a>> wrote:<br>
> Why not use simply<br>
>  ssh %host% cat /etc/SuSE-release<br>
><br>
> mfg<br>
><br>
> Andreas<br>
><br>
> --<br>
><br>
><br>
> Andreas Kunberger<br>
> Körschtalstraße 26, 73770 Denkendorf<br>
><br>
><br>
> To unsubscribe from the hobbit list, send an e-mail to<br>
> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
><br>
><br>
><br>
<br>
<br>
</div></div>--<br>
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
“Success is not final, failure is not fatal: it is the courage to<br>
continue that counts.”<br>
--- Winston Churchill<br>
<div><div></div><div class="h5"><br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</div></div></blockquote></div><br>