Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 30 December 2024, 12:52:43 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  ssh settings not retaining on reboot
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: ssh settings not retaining on reboot  (Read 62524 times)
hilkiah
Jr. Member
*
Offline Offline

Posts: 4



« 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
Logged
hilkiah
Jr. Member
*
Offline Offline

Posts: 4



« Reply #1 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
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.047 seconds with 21 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com