Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check setting sshd (Security of SSH)
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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"
------------------------
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"
------------------------
Reviews (0)
Be the first to review this listing!