EFW Support

Support => General Support => Topic started by: hilkiah on Thursday 16 February 2023, 01:06:58 pm



Title: ssh settings not retaining on reboot
Post by: hilkiah on Thursday 16 February 2023, 01:06:58 pm
Hi all,

Recently installed Endian Community edition (upgraded to 3.3.19).  I noticed that the ssh configuration reverts to the default after a reboot.  For example, I usually edit /etc/ssh/sshd.conf to make certain changes (e.g. AllowUsers <myuser only>. Port 2222, PasswordAuthentication no).  Whenever the server reboots, it reverts to the default values (Port 22, AllowUsers root support and PasswordAuthentication yes).  How can I preserve my changes across reboots?

Thanks in advance.
Hilkiah


Title: Re: ssh settings not retaining on reboot
Post by: hilkiah on Thursday 16 February 2023, 01:23:16 pm
Ok...I edited /etc/ssh/sshd_conf.tmpl and changed the settings there.  That did the trick.

HL