<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
Hmm, nice to know that.  I must have been thinking of rsh or something else.  I would encourage you to test carefully.<BR>
<BR>
Matt<BR>
<BR>
<BR>
On Mon, 2006-05-01 at 22:30 +0200, Florian G. Pflug wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Matthew B. Brookover wrote:</FONT>
<FONT COLOR="#000000">> I have not used this tool in a while, but it did work on my system.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> I would not trust this version to fence properly.  Using system does not</FONT>
<FONT COLOR="#000000">> allow the exit status of iptables to be checked for errors.  System only</FONT>
<FONT COLOR="#000000">> reports the status of the ssh command, not the command that is called on</FONT>
<FONT COLOR="#000000">> the remote host.</FONT>
<FONT COLOR="#000000">I believe ssh 'forwards' that exit-code of the remote-command - at</FONT>
<FONT COLOR="#000000">least the version that comes with debian/sarge does.</FONT>

<FONT COLOR="#000000"> > ssh fgp@dev '/bin/false'; echo $?</FONT>
<FONT COLOR="#000000">gives:</FONT>
<FONT COLOR="#000000">1</FONT>

<FONT COLOR="#000000"> > ssh fgp@dev '/bin/true'; echo $?</FONT>
<FONT COLOR="#000000">gives:</FONT>
<FONT COLOR="#000000">0</FONT>

<FONT COLOR="#000000">At least on my machine..</FONT>

<FONT COLOR="#000000">greetings, Florian Pflug</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>