From a268c8e6ae7ea17c6178c1e7b857e4dc477d5e30 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 5 Feb 2020 21:13:05 +0100 Subject: ssh: T631: remove sshd config mangling The configuration of SSHd is rendered from a template each time the service changes. Thus it is not required that the boot process touches the config. --- scripts/rl-system.init | 8 -------- 1 file changed, 8 deletions(-) (limited to 'scripts') diff --git a/scripts/rl-system.init b/scripts/rl-system.init index 458bf9da..a6d8d27a 100755 --- a/scripts/rl-system.init +++ b/scripts/rl-system.init @@ -167,14 +167,6 @@ security_reset () { # Disable root login over telnet sed -i -e '/^# Pseudo-terminal (telnet)/,$d' /etc/securetty - - # Restore default sshd config - # Disable root login with ssh - # Renable DNS validation - # Remove Listen addresses - sed -i -e '/^PermitRootLogin/s/yes/no/' \ - -e '/^UseDNS/s/no/yes/' \ - -e '/^ListenAddress/d' /etc/ssh/sshd_config } start () { -- cgit v1.2.3