Correct inccorect conf file for ssh check
This commit is contained in:
parent
ffec20d3e7
commit
d0348c8a0e
|
@ -44,3 +44,4 @@ Checked points :
|
|||
- Check if auto-update script is configured (presence, executable and if cron task is configured)
|
||||
- Check if auto-backup script is configured (presence, executable, content, connection to remote service, if cron task is configured ...)
|
||||
- Print additional manual verifications (send reporting mail, if /etc conf file need to be updated, if a new kernel can be installed, if server-side for Icinga / SNMP / Munin are configured)
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
print_config_title 'CHECK SSH CONFIG'
|
||||
|
||||
|
||||
conf_file_to_test="/etc/snmp/snmpd.conf"
|
||||
conf_file_to_test="/etc/ssh/sshd_config"
|
||||
|
||||
# Check if conf file exist
|
||||
if [[ ! -f "${conf_file_to_test}" ]]
|
||||
|
|
Loading…
Reference in a new issue