Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Sshd_config gets overwritten on reboot

    pfSense Packages
    2
    2
    2711
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cdsu last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H
        hoba last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post