7
edits
Changes
m
rm -f /etc/ssh/ssh_host_*
chmod a+x /etc/init.d/ssh_gen_host_keys
insserv /etc/init.d/ssh_gen_host_keys
→Fix SSH host keys in Squeeze using dependency-based booting
=== Fix SSH host keys in Squeeze using dependency-based booting ===
rm -f /etc/ssh/ssh_host_*
<!-- please do not remove <source>...</source> pair of tags below,
otherwise quotes after -N (-N '') are not visible -->
<source lang="bash">
cat << EOF > /etc/init.d/ssh_gen_host_keys
#!/bin/sh
rm -f \$0
EOF
</source>
chmod a+x /etc/init.d/ssh_gen_host_keys
insserv /etc/init.d/ssh_gen_host_keys
=== Change timezone ===