diff --git a/base_deb/etc/one-context.d/02-ssh_host_key b/base_deb/etc/one-context.d/02-ssh_host_key new file mode 100755 index 0000000..d9bb27f --- /dev/null +++ b/base_deb/etc/one-context.d/02-ssh_host_key @@ -0,0 +1,6 @@ +#!/bin/bash + +if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then + dpkg-reconfigure openssh-server +fi +