Changes

Jump to: navigation, search

Debian template creation

13 bytes removed, 09:42, 10 May 2007
m
Make SSH section cut and pasteable
=== Fix SSH host keys ===
This is only useful if you installed SSH. Each individual [[VE]] should have its own pair of SSH host keys. The code below will wipe out the existing SSH keys and instruct the newly-created [[VE]] to create new SSH keys on first boot.
<pre>
rm -f /etc/ssh/ssh_host_*
cat << EOF > /etc/rc2.d/S15ssh_gen_host_keys
EOF
chmod a+x /etc/rc2.d/S15ssh_gen_host_keys
</pre>
=== Clean packages ===
2
edits

Navigation menu