From: Ron B. <ron...@ne...> - 2010-06-11 21:20:00
|
Ron Byer Jr. wrote: > Greetings, > > I think the following microscopic change in /etc/init.d/sshd is in order. > > --- sshd Fri Jun 11 14:18:28 2010 > +++ sshd.old Fri Jun 11 14:21:25 2010 > @@ -17,7 +17,7 @@ > # if we change the values for SSHDPORT or SSHDROOT, but > # /mnt/kd/ssh/sshd_config exists, it will not be updated. > # it will need to be removed to get these new values. > - if [ ! -f /tmp/etc/ssh/sshd_config ]; then > + if [ ! -f /tmp/etc/sshd_config ]; then > : > /tmp/etc/ssh/sshd_config > > if [ -L /tmp/etc/ssh ]; then > > > the way it was, any custom settings in /mnt/kd/ssh/sshd_config would > get obliterated on each reboot. > > > Thanks and regards, > > Ron > > |