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)
Current Version
1.0
Last Release Date
2012-02-29
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
Owner
Hits
77450
Files:
File | Description |
---|---|
check_setting_sshd.sh | Version 1.0 |
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!