mirror of
/repos/baseimage-docker.git
synced 2025-12-30 08:01:31 +01:00
Add forgotten file
This commit is contained in:
parent
4ee9947467
commit
d2d1f713a4
6
image/00_regen_ssh_host_keys.sh
Executable file
6
image/00_regen_ssh_host_keys.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
if [[ ! -e /etc/ssh/ssh_host_rsa_key ]]; then
|
||||
echo "No SSH host key available. Generating one..."
|
||||
dpkg-reconfigure openssh-server
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user