Browse Source

Correct inccorect conf file for ssh check

master
nemo 3 years ago
parent
commit
d0348c8a0e
  1. 1
      README.md
  2. 3
      recipes/recipe_check_ssh_config.sh

1
README.md

@ -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)

3
recipes/recipe_check_ssh_config.sh

@ -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…
Cancel
Save