<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>