#!/bin/bash # Define your Hetzner Storage Box details STORAGE_BOX_USER="u554364" STORAGE_BOX_HOST="u554364.your-storagebox.de" MOUNT_POINT="/mnt/data" SSH_KEY_PATH="/root/.ssh/id_ed25519" PORT="23" # Install required dependencies echo "Installing required dependencies..." apt update apt install -y sshfs fuse3 # Ensure FUSE is loaded echo "Loading FUSE kernel module..." sudo modprobe fuse # Ensure fuse.conf allows user mounts echo "Configuring fuse.conf..." echo "user_allow_other" | sudo tee -a /etc/fuse.conf # Create a systemd mount unit file echo "Creating systemd mount unit..." cat <