Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
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
Current Version
1.0
Last Release Date
2012-02-29
Owner
Julienchpt
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2012/02/check_setting_sshd.sh
Compatible With
Version 1.0
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" ------------------------
You must be logged in to submit a review.
To:
From: