We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0328873 commit 5df6ec7Copy full SHA for 5df6ec7
src/etc/s6-overlay/scripts/generate-ssh-keys
@@ -5,7 +5,7 @@ if [ $DEBUG_MODE == true ]; then
5
fi
6
7
# Check if SSH host keys are missing
8
-if [ ! -f $SSH_HOST_KEY_DIR/ssh_host_* ]; then
+if ! [ -e $SSH_HOST_KEY_DIR/ssh_host_* ]; then
9
echo "🏃♂️ Generating SSH keys for you..."
10
dpkg-reconfigure openssh-server
11
# Check if the host directory exists. Create it if needed
0 commit comments