| Line | |
|---|
| 1 |
<module> |
|---|
| 2 |
<name>ssh2</name> |
|---|
| 3 |
<description><para>The ssh2 module allows reconnoiter to connect to servers over ssh protocol 2 and test the fingerprint.</para></description> |
|---|
| 4 |
<loader>C</loader> |
|---|
| 5 |
<image>ssh2.so</image> |
|---|
| 6 |
<moduleconfig /> |
|---|
| 7 |
<checkconfig> |
|---|
| 8 |
<parameter name="port" |
|---|
| 9 |
required="optional" |
|---|
| 10 |
default="22" |
|---|
| 11 |
allowed="\d+">The TCP port on which the remote server's ssh service is running.</parameter> |
|---|
| 12 |
</checkconfig> |
|---|
| 13 |
<examples> |
|---|
| 14 |
<example> |
|---|
| 15 |
<title>Simple ssh polling of 4 machines</title> |
|---|
| 16 |
<para>The following checks ssh on 10.1.2.{3,4,5,6}</para> |
|---|
| 17 |
<programlisting><![CDATA[ |
|---|
| 18 |
<noit> |
|---|
| 19 |
<modules> |
|---|
| 20 |
<module image="ssh2" name="ssh2"/> |
|---|
| 21 |
</modules> |
|---|
| 22 |
<checks> |
|---|
| 23 |
<ssh module="ssh2"> |
|---|
| 24 |
<check uuid="1cddb2a8-76ff-11dd-83c8-f75cb8b93bd9" target="10.1.2.3"/> |
|---|
| 25 |
<check uuid="1dd79110-76ff-11dd-9b54-739adc274a93" target="10.1.2.4"/> |
|---|
| 26 |
<check uuid="4627560a-76ff-11dd-941f-4b75679cb908" target="10.1.2.5"/> |
|---|
| 27 |
<check uuid="4fdcb8de-76ff-11dd-ae16-2740afc178ae" target="10.1.2.6"/> |
|---|
| 28 |
</ssh> |
|---|
| 29 |
</checks> |
|---|
| 30 |
</noit> |
|---|
| 31 |
]]></programlisting> |
|---|
| 32 |
</example> |
|---|
| 33 |
</examples> |
|---|
| 34 |
</module> |
|---|