summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-05 21:13:05 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-05 21:13:08 +0100
commita268c8e6ae7ea17c6178c1e7b857e4dc477d5e30 (patch)
tree55457a34fb4b7ba0e151ae83f6009d55b40a64d8 /scripts
parent0fcc88b20dd3e121faf740d9c7a879e661ddc16c (diff)
downloadvyatta-cfg-system-a268c8e6ae7ea17c6178c1e7b857e4dc477d5e30.tar.gz
vyatta-cfg-system-a268c8e6ae7ea17c6178c1e7b857e4dc477d5e30.zip
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init8
1 files changed, 0 insertions, 8 deletions
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 () {