Skip to content

stump/check_sshfp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

This is a Nagios plugin for checking SSHFP records. It checks that all SSHFP records correspond to a key the server offers, that all keys the server offers have SSHFP records, and that all SSHFP records are correct. Incorrect SSHFP records are considered CRITICAL; missing or superfluous ones are considered WARNING.

Requires Python 3, dnspython, and the ssh-keyscan program. (On Debian, that means python3-dnspython and openssh-client.) Currently happens to work under Python 2 also, but this has not been tested as extensively.

Here's a define command stanza for it:

define command {
  command_name check_sshfp
  command_line /path/to/check_sshfp '$HOSTADDRESS$'
}

MIT license.

About

Nagios plugin for checking SSHFP records

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages