<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I tried the multiple v's:<br>
<br>
nagios@ms1 ~ $ /usr/nagios/libexec/check_by_ssh -H remotecomputer -i
-vvvv ~/.ssh/id_dsa -C "/usr/nagios/plugins/check_swap -w 50% -c 10%"<br>
Enter passphrase for key '/home/nagios/.ssh/id_dsa':<br>
nagios@ocmp0's password:<br>
<br>
Didn't give me anymore output but as I mentioned doing it via just ssh
works:<br>
<br>
nagios@ms1 ~ $ ssh -i .ssh/id_dsa remotecomputer
"/usr/nagios/plugins/check_swap -w 50% -c 10%"<br>
SWAP OK - 100% free (1996 MB out of 1996 MB) |swap=1996MB;998;199;0;1996<br>
nagios@ms1 ~ $<br>
<br>
-rw-r--r-- 1 nagios nagios  615 Jun  8 07:03 authorized_keys<br>
-rw------- 1 nagios nagios  736 Jun  8 05:12 id_dsa<br>
-rw-r--r-- 1 nagios nagios  614 Jun  8 05:12 id_dsa.pub<br>
-rw-r--r-- 1 nagios nagios 1270 Jun 15 10:21 known_hosts<br>
<br>
and I did try doing /home/nagios/.ssh/id_dsa and it didn't make a
difference. It looks like a problem with check_by_ssh itself doesn't it?<br>
<br>
<br>
Luis Cerezo wrote:
<blockquote cite="mid:F5CF8C85-DF11-4B06-AE56-FBF07CD352D7@pgs.com"
 type="cite">who is the owner of the .ssh/id_dsa?
  <div>are you sure there is no pass on it?</div>
  <div>did you try the rsa versions of the keys?</div>
  <div>did you try to expand the ~ ?</div>
  <div>what is the output with multiple -v's</div>
  <div><br class="webkit-block-placeholder">
  </div>
  <div>
  <div> <span class="Apple-style-span"
 style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
 class="Apple-style-span"
 style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;">-luis<br
 class="Apple-interchange-newline">
  <div><br class="khtml-block-placeholder">
  </div>
  <div>*********</div>
  <div>Luis E. Cerezo</div>
  <div>281.509.8397</div>
GSS GlobalIT<br class="Apple-interchange-newline">
  </span></span> </div>
  <br>
  <div>
  <div>On Jun 15, 2007, at 1:39 PM, Robert Cole wrote:</div>
  <br class="Apple-interchange-newline">
  <blockquote type="cite">
    <div style="margin: 0px;">-------------------------------------------------------------------------</div>
    <div style="margin: 0px;">This SF.net email is sponsored by DB2
Express</div>
    <div style="margin: 0px;">Download DB2 Express C - the FREE version
of DB2 express and take</div>
    <div style="margin: 0px;">control of your XML. No limits. Just
data. Click to get it now.</div>
    <div style="margin: 0px;"><a moz-do-not-send="true"
 href="http://sourceforge.net/powerbar/db2/_______________________________________________">http://sourceforge.net/powerbar/db2/_______________________________________________</a></div>
    <div style="margin: 0px;">Nagios-users mailing list</div>
    <div style="margin: 0px;"><a moz-do-not-send="true"
 href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a></div>
    <div style="margin: 0px;"><a moz-do-not-send="true"
 href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a></div>
    <div style="margin: 0px;">::: Please include Nagios version, plugin
version (-v) and OS when reporting any issue.<span
 class="Apple-converted-space"> </span></div>
    <div style="margin: 0px;">::: Messages without supporting info will
risk being sent to /dev/null</div>
  </blockquote>
  </div>
  <br>
  </div>
</blockquote>
</body>
</html>