Provide GRMLBASE script 49-sshd to adjust sshd configuration [Closes: issue1304]
authorMichael Prokop <mika@grml.org>
Sat, 19 Apr 2014 15:00:30 +0000 (17:00 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 19 Apr 2014 15:03:43 +0000 (17:03 +0200)
commit0ad0e8152cdad938120d300ec55104c1a1554b6c
tree12fae802f84b0a4e11407123acb3a2dd37096834
parent908cad48a063ba31385f0a23667d23d600b4b818
Provide GRMLBASE script 49-sshd to adjust sshd configuration [Closes: issue1304]

Providing the openssh-server/permit-root-login debconf option sadly
isn't enough to switch from "PermitRootLogin without-password"
to "PermitRootLogin yes", so we have to adjust the file on-the-fly.
(Let's try to avoid shipping the sshd configuration file for now,
to make sure the file works for all the Debian releases.)

While at it also disable UseDNS which speeds up login when DNS
is unconfigured/unavailable/broken.
etc/grml/fai/config/scripts/GRMLBASE/49-sshd [new file with mode: 0755]