Sshd_config gets overwritten on reboot



  • I am in the process of tweaking my pfsense system(v1.0.1). one of the things I would like to do is a seamless authentication from one of my servers to the pfsense box. I do this with public keys. When I modified the /etc/ssh/sshd_config and added some entries upon reboot the sshd_config file gets overwritten. Where can I turn off this. The purpose to doing this setup is to be able to grab the /var/log/snort/alert file and run it through a script that will give me an email when there is an alert.



  • You can't shut that behaviour down. Nearly all config files are generated dynamicall on reboot or at config changes when needed. I think we have some code to allow what you are trying to do already in our head code tree so you can configure it from the gui but that probably won't appear before the 2.0 release.

    Try using one of the techniques described here to fetch that file: http://forum.pfsense.org/index.php/topic,3256.msg19680.html#msg19680
    http://forum.pfsense.org/index.php/topic,3256.msg19744.html#msg19744


Log in to reply