Skip to content

Instantly share code, notes, and snippets.

@amanjuman
Created July 20, 2023 14:25
Show Gist options
  • Save amanjuman/81ecaecfe1d1983de1c5371a0e9c66b2 to your computer and use it in GitHub Desktop.
Save amanjuman/81ecaecfe1d1983de1c5371a0e9c66b2 to your computer and use it in GitHub Desktop.
Mount Hetzner Storage Box with Ubuntu Server using WebDev Protocol
sudo apt update
sudo apt install davfs2 -y
sudo adduser $USER davfs2
sudo mkdir -p /mnt/hetzner
echo "/mnt/hetzner username password" | sudo tee -a /etc/davfs2/secrets
sudo chmod 600 /etc/davfs2/secrets
echo "https://storage-box-url.your-storagebox.de:443 /mnt/hetzner davfs rw,user,noauto 0 0" | sudo tee -a /etc/fstab
mount /mnt/hetzner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment