diff --git a/ssh-jump-host/values/init-configmap.yaml b/ssh-jump-host/values/init-configmap.yaml
index 62c1fc02409990126ce53ad973c8a88efd14788d..c9c3338e26df05f8f727d3e0604ec2ac88fb37b9 100644
--- a/ssh-jump-host/values/init-configmap.yaml
+++ b/ssh-jump-host/values/init-configmap.yaml
@@ -8,12 +8,17 @@ data:
     user_keys_secret_dir="$3"
     user_keys_dir="$4"
 
+    echo "$(ls -l $host_keys_secret_dir)"
 
-    if find $host_keys_secret_dir -mindepth 1 -maxdepth 1 | read; then
-      cp $host_keys_secret_dir/* $host_keys_dir
+    if [ "$(ls $host_keys_secret_dir)" ]; then
+      cp -L $host_keys_secret_dir/* $host_keys_dir
       chmod 600 $host_keys_dir/*
+    else
+      echo "Host keys are empty!"
     fi
 
-    if find "$user_keys_secret_dir" -mindepth 1 -maxdepth 1 | read; then
-      cp $user_keys_secret_dir/* $user_keys_dir
+    if [ "$(ls $user_keys_secret_dir)" ]; then
+      cp -L $user_keys_secret_dir/* $user_keys_dir
+    else
+      echo "User keys are empty."
     fi