Home Directory Plugins Security Check setting sshd (Security of SSH)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check setting sshd (Security of SSH)

Current Version
1.0
Last Release Date
2012-02-29
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
Hits
77229
Files:
FileDescription
check_setting_sshd.shVersion 1.0
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This check control the security of your SSH service (The setting of sshd_config file)
4 values are checking: PermitRootLogin, Protocol, Port and PermitEmptyPasswords
For more detail ./check_setting_sshd.sh -h
This check control the security of your SSH service (The setting of sshd_config file)
4 values are checking: PermitRootLogin, Protocol, Port and PermitEmptyPasswords
For more detail ./check_setting_sshd.sh -h
------------------------
Usage: ./check_setting_sshd.sh [OPTIONNAL] -r PermitRootLogin -p Protocol -P PermitEmptyPasswords -f "path_file_sshd_config"
Options:
-r Value of "PermitRootLogin" (Default:no)
-o Value of "Port" (Default:22)
-p Value of "Protocol" (Default:2)
-P Value of "PermitEmptyPasswords" (Default:no)
-f Path of the file sshd_config (Default:/etc/ssh/sshd_config)
-h Display Help

Without options the script take the default setting.

Example 1 - Without options:
./check_setting_sshd.sh
By default when you launch the script without
option it's similar to: ./check_setting_sshd.sh -r no -o 22 -p 2 -P no -f "/etc/ssh/sshd_config"

Example 2 - With options:
./check_setting_sshd.sh -r without-password -p 1 -o 3446 -P yes -f "/etc/sshd/sshd_config.ini"
------------------------