--- rpms/smeserver-centos2sme/contribs10/smeserver-centos2sme-6.9.1-secondSME10.patch 2021/03/21 02:55:53 1.2 +++ rpms/smeserver-centos2sme/contribs10/smeserver-centos2sme-6.9.1-secondSME10.patch 2021/03/24 18:21:49 1.3 @@ -54,8 +54,8 @@ diff -Nur --no-dereference smeserver-cen echo "##########################################################################" echo "set SSHD to accept root login with rsa key" /sbin/e-smith/db configuration setprop sshd status enabled PermitRootLogin yes access public -+/sbin/e-smith/expand-template /etc/e-smith/events/remoteaccess-update/templates2expand/etc/ssh/ssh_config -+/sbin/e-smith/expand-template /etc/e-smith/events/remoteaccess-update/templates2expand/etc/ssh/sshd_config ++/sbin/e-smith/expand-template /etc/ssh/ssh_config ++/sbin/e-smith/expand-template /etc/ssh/sshd_config +/usr/bin/systemctl restart sshd.service +# a sshd reload does not regenerate the keys and failed +# doing one after to do the rest (masq etc.)