Generate SSH host keys before networking

pull/89/head
Vlastimil Holer 7 years ago
parent e256b4a35b
commit 2afb78747d
No known key found for this signature in database
GPG Key ID: EB549BADEFD07C53

@ -0,0 +1,6 @@
#!/bin/bash
if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure openssh-server
fi

@ -1,6 +0,0 @@
#!/bin/bash
if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
dpkg-reconfigure openssh-server
fi
Loading…
Cancel
Save