[nagios-plugins] check_ssh: check protocol (#1190)
waja <notifications-9UaJU3cA/F/[email protected]> Tue, 01 Oct 2013 05:54:18 -0700
| Newsgroups | gmane.network.nagios.plugins.devel |
|---|---|
| Message-ID | <nagios-plugins/nagios-plugins/pull/[email protected]> |
--===============5037470869324684558==
Content-Type: multipart/alternative;
boundary="--==_mimepart_524ac5fa767f_5888ed9d4c3176c4";
charset=UTF-8
Content-Transfer-Encoding: 7bit
----==_mimepart_524ac5fa767f_5888ed9d4c3176c4
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
It would be useful to be able to detect the protocols supported by the remote
ssh server to locate any using the insecure ssh v1 protocol. This patch
attempts to match against the protocol string in the ssh response.
Example:
check_ssh -H my.host.com -P 2.0
--
Just turning attached patch of github issue #780 into a push request.
(Closes #780)
You can merge this Pull Request by running:
git pull https://github.com/waja/nagios-plugins github780
Or you can view, comment on it, or merge it online at:
https://github.com/nagios-plugins/nagios-plugins/pull/1190
-- Commit Summary --
* check_ssh: check protocol
-- File Changes --
M plugins/check_ssh.c (24)
-- Patch Links --
https://github.com/nagios-plugins/nagios-plugins/pull/1190.patch
https://github.com/nagios-plugins/nagios-plugins/pull/1190.diff
----==_mimepart_524ac5fa767f_5888ed9d4c3176c4
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<p>It would be useful to be able to detect the protocols supported by the remote<br>
ssh server to locate any using the insecure ssh v1 protocol. This patch<br>
attempts to match against the protocol string in the ssh response.</p>
<p>Example:</p>
<h2>check_ssh -H my.host.com -P 2.0</h2>
<p>Just turning attached patch of github issue <a href="https://github.com/nagios-plugins/nagios-plugins/issues/780" class="issue-link" title="check_ssh protocol check [sf#1899981]">#780</a> into a push request.<br>
(Closes <a href="https://github.com/nagios-plugins/nagios-plugins/issues/780" class="issue-link" title="check_ssh protocol check [sf#1899981]">#780</a>)</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/waja/nagios-plugins github780</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/nagios-plugins/nagios-plugins/pull/1190'>https://github.com/nagios-plugins/nagios-plugins/pull/1190</a></p>
<h4>Commit Summary</h4>
<ul>
<li>check_ssh: check protocol</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/nagios-plugins/nagios-plugins/pull/1190/files#diff-0">plugins/check_ssh.c</a>
(24)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/nagios-plugins/nagios-plugins/pull/1190.patch'>https://github.com/nagios-plugins/nagios-plugins/pull/1190.patch</a></li>
<li><a href='https://github.com/nagios-plugins/nagios-plugins/pull/1190.diff'>https://github.com/nagios-plugins/nagios-plugins/pull/1190.diff</a></li>
</ul>
----==_mimepart_524ac5fa767f_5888ed9d4c3176c4--
--===============5037470869324684558==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
--===============5037470869324684558==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
--===============5037470869324684558==--