What is the problem you are having with rclone?
I am trying to set up the md5sum_command and sha1sum_command options for my SFTP mount to a Hetzner Storage Box.
Hetzner Storage Boxes do have these commands available in their limited SSH environment, so I thought I'd give it a try.
Run the command 'rclone version' and share the full output of the command.
❯ rclone --version
rclone v1.74.3
- os/version: arch 26.1.0-pre (64 bit)
- os/kernel: 6.6.143-1-MANJARO (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.26.4-X:nodwarf5
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using?
SFTP, to a Hetzner Storage Box
The command you were trying to run
I usually use this one to mount:
rclone mount HetznerStorageBox-u123456: "/home/technicjelle/Drives/HetznerBackup/" --vfs-cache-mode writes
After setting the md5sum_command and sha1sum_command in the rclone config to:
md5sum_command = md5sum
sha1sum_command = sha1sum
I started getting errors in my console:
2026/07/07 21:25:41 ERROR : TechnicJelle.png: ReadFileHandle.Flush error: failed to calculate md5 hash: failed to run "md5sum /TechnicJelle.png": : ssh: command md5sum /TechnicJelle.png failed
2026/07/07 21:25:41 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /TechnicJelle.png": : ssh: command md5sum /TechnicJelle.png failed
2026/07/07 21:25:41 ERROR : TechnicJelle.png: ReadFileHandle.Release error: failed to calculate md5 hash: failed to run "md5sum /TechnicJelle.png": : ssh: command md5sum /TechnicJelle.png failed
2026/07/07 21:25:41 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /TechnicJelle.png": : ssh: command md5sum /TechnicJelle.png failed
2026/07/07 21:25:42 ERROR : .hsh_history: ReadFileHandle.Flush error: failed to calculate md5 hash: failed to run "md5sum /.hsh_history": : ssh: command md5sum /.hsh_history failed
2026/07/07 21:25:42 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /.hsh_history": : ssh: command md5sum /.hsh_history failed
2026/07/07 21:25:42 ERROR : .hsh_history: ReadFileHandle.Release error: failed to calculate md5 hash: failed to run "md5sum /.hsh_history": : ssh: command md5sum /.hsh_history failed
2026/07/07 21:25:42 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /.hsh_history": : ssh: command md5sum /.hsh_history failed
2026/07/07 21:25:42 ERROR : .hsh_history: ReadFileHandle.Flush error: failed to calculate md5 hash: failed to run "md5sum /.hsh_history": : ssh: command md5sum /.hsh_history failed
2026/07/07 21:25:42 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /.hsh_history": : ssh: command md5sum /.hsh_history failed
2026/07/07 21:25:42 ERROR : .hsh_history: ReadFileHandle.Flush error: failed to calculate md5 hash: failed to run "md5sum /.hsh_history": : ssh: command md5sum /.hsh_history failed
2026/07/07 21:25:42 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /.hsh_history": : ssh: command md5sum /.hsh_history failed
2026/07/07 21:25:42 ERROR : .hsh_history: ReadFileHandle.Release error: failed to calculate md5 hash: failed to run "md5sum /.hsh_history": : ssh: command md5sum /.hsh_history failed
2026/07/07 21:25:42 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /.hsh_history": : ssh: command md5sum /.hsh_history failed
2026/07/07 21:25:42 ERROR : TechnicJelle.png: ReadFileHandle.Flush error: failed to calculate md5 hash: failed to run "md5sum /TechnicJelle.png": : ssh: command md5sum /TechnicJelle.png failed
2026/07/07 21:25:42 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /TechnicJelle.png": : ssh: command md5sum /TechnicJelle.png failed
2026/07/07 21:25:42 ERROR : TechnicJelle.png: ReadFileHandle.Release error: failed to calculate md5 hash: failed to run "md5sum /TechnicJelle.png": : ssh: command md5sum /TechnicJelle.png failed
2026/07/07 21:25:42 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /TechnicJelle.png": : ssh: command md5sum /TechnicJelle.png failed
^C2026/07/07 21:26:10 NOTICE: /home/technicjelle/Drives/HetznerBackup/: Unmounted rclone mount
I then went to check the rclone documentation, and it linked to the Hetzner Storage Box documentation.
There, I saw the recommendation to "add the flag --checkers=<count lower 8> for sftp connections`:
rclone mount HetznerStorageBox-u123456: "/home/technicjelle/Drives/HetznerBackup/" --vfs-cache-mode writes --checkers=8
But it had no effect.
I then noticed that the path of the files it was trying to hash was incorrect, because Hetzner Storage Boxes's "user file root" isn't at /, but at /home/ instead:
❯ ssh -p 23 u123456@u123456.your-storagebox.de
u123456@u123456.your-storagebox.de's password:
Last login: Tue Jul 7 19:29:08 2026 from my ip :)
+------------------------------------------------------------------+
| Welcome to your Storage Box. |
| |
| Please note that this is only a restricted shell environment and |
| therefore some shell features like pipes and redirects are not |
| supported. |
+------------------------------------------------------------------+
u123456 /home > pwd
/home
u123456 /home > md5sum /home/.hsh_history
bd5322dff50289aa10344763cd9e492d /home/.hsh_history
After consulting the documentation some more, I found the flag --sftp-path-override /home and added that:
rclone mount HetznerStorageBox-u123456: "/home/technicjelle/Drives/HetznerBackup/" --vfs-cache-mode writes --checkers=8 --sftp-path-override /home
But this has led to the following (kind of amusing) warnings in my log:
❯ ./mount_HetznerBackup
2026/07/07 21:37:05 ERROR : .hsh_history: ReadFileHandle.Flush error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 21:37:05 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 21:37:06 ERROR : TechnicJelle.png: ReadFileHandle.Flush error: failed to calculate md5 hash: failed to run "md5sum /home/TechnicJelle.png": : ssh: command md5sum /home/TechnicJelle.png failed
2026/07/07 21:37:06 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/TechnicJelle.png": : ssh: command md5sum /home/TechnicJelle.png failed
2026/07/07 21:37:06 ERROR : TechnicJelle.png: ReadFileHandle.Release error: failed to calculate md5 hash: failed to run "md5sum /home/TechnicJelle.png": : ssh: command md5sum /home/TechnicJelle.png failed
2026/07/07 21:37:06 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/TechnicJelle.png": : ssh: command md5sum /home/TechnicJelle.png failed
2026/07/07 21:37:06 ERROR : .hsh_history: ReadFileHandle.Release error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 21:37:06 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 21:37:06 ERROR : .hsh_history: ReadFileHandle.Flush error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 21:37:06 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 21:37:06 ERROR : .hsh_history: ReadFileHandle.Release error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 21:37:06 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 21:37:06 ERROR : TechnicJelle.png: ReadFileHandle.Flush error: failed to calculate md5 hash: failed to run "md5sum /home/TechnicJelle.png": : ssh: command md5sum /home/TechnicJelle.png failed
2026/07/07 21:37:06 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/TechnicJelle.png": : ssh: command md5sum /home/TechnicJelle.png failed
2026/07/07 21:37:06 ERROR : TechnicJelle.png: ReadFileHandle.Release error: failed to calculate md5 hash: failed to run "md5sum /home/TechnicJelle.png": : ssh: command md5sum /home/TechnicJelle.png failed
2026/07/07 21:37:06 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/TechnicJelle.png": : ssh: command md5sum /home/TechnicJelle.png failed
^C2026/07/07 21:37:15 NOTICE: /home/technicjelle/Drives/HetznerBackup/: Unmounted rclone mount
❯ ssh -p 23 u123456@u123456.your-storagebox.de
u123456@u123456.your-storagebox.de's password:
Last login: Tue Jul 7 19:29:08 2026 from my ip :)
+------------------------------------------------------------------+
| Welcome to your Storage Box. |
| |
| Please note that this is only a restricted shell environment and |
| therefore some shell features like pipes and redirects are not |
| supported. |
+------------------------------------------------------------------+
u123456 /home > pwd
/home
u123456 /home > md5sum /home/.hsh_history
bd5322dff50289aa10344763cd9e492d /home/.hsh_history
rclone seems to be trying to run the command md5sum /home/.hsh_history and failing to do so.
But when I run it manually in an SSH session, it works just fine!
So now here I am, a little confused.
I would really appreciate any hints about how to get this to work!
Thanks in advance : )
(my smiley is getting turned into an emoji without that space in-between... can't even \escape it either)
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[HetznerStorageBox-u123456]
type = sftp
host = u123456.your-storagebox.de
user = u123456
pass = XXX
shell_type = unix
known_hosts_file = ~/.ssh/known_hosts
md5sum_command = md5sum
sha1sum_command = sha1sum
A log from the command that you were trying to run with the -vv flag
I hope you don't mind if I share only the first and last parts; I don't think there's anything relevant in the stuff before this:
(please let me know if there is, and I'll send it as soon as I can after all!)
❯ ./mount_HetznerBackup
2026/07/07 22:07:55 DEBUG : rclone: Version "v1.74.3" starting with parameters ["rclone" "mount" "HetznerStorageBox-u123456:" "/home/technicjelle/Drives/HetznerBackup/" "--vfs-cache-mode" "writes" "--checkers=8" "--sftp-path-override" "/home" "-vv"]
2026/07/07 22:07:55 DEBUG : Creating backend with remote "HetznerStorageBox-u123456:"
2026/07/07 22:07:55 DEBUG : Using config file from "/home/technicjelle/.config/rclone/rclone.conf"
2026/07/07 22:07:55 DEBUG : HetznerStorageBox-u123456: detected overridden config - adding "{PHVts}" suffix to name
2026/07/07 22:07:55 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: New connection [an ip]:port->[ip]:22 to "SSH-2.0-mod_sftp"
2026/07/07 22:07:55 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: Shell type "unix" from config
2026/07/07 22:07:55 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: Relative path resolved to "/"
2026/07/07 22:07:55 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: Using root directory "/"
2026/07/07 22:07:55 DEBUG : fs cache: renaming cache item "HetznerStorageBox-u123456:" to be canonical "HetznerStorageBox-u123456{PHVts}:"
2026/07/07 22:07:55 INFO : sftp://u123456@u123456.your-storagebox.de:22/: poll-interval is not supported by this remote
2026/07/07 22:07:55 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: vfs cache: root is "/home/technicjelle/.cache/rclone"
2026/07/07 22:07:55 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: vfs cache: data root is "/home/technicjelle/.cache/rclone/vfs/HetznerStorageBox-u123456{PHVts}"
2026/07/07 22:07:55 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: vfs cache: metadata root is "/home/technicjelle/.cache/rclone/vfsMeta/HetznerStorageBox-u123456{PHVts}"
2026/07/07 22:07:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/technicjelle/.cache/rclone/vfs/HetznerStorageBox-u123456{PHVts}"
2026/07/07 22:07:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2026/07/07 22:07:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/technicjelle/.cache/rclone/vfs/HetznerStorageBox-u123456{PHVts}" to be canonical ":local{8un-i}:/home/technicjelle/.cache/rclone/vfs/HetznerStorageBox-u123456{PHVts}"
2026/07/07 22:07:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/technicjelle/.cache/rclone/vfsMeta/HetznerStorageBox-u123456{PHVts}"
2026/07/07 22:07:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2026/07/07 22:07:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/technicjelle/.cache/rclone/vfsMeta/HetznerStorageBox-u123456{PHVts}" to be canonical ":local{8un-i}:/home/technicjelle/.cache/rclone/vfsMeta/HetznerStorageBox-u123456{PHVts}"
2026/07/07 22:07:55 INFO : sftp://u123456@u123456.your-storagebox.de:22/: vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2026/07/07 22:07:55 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: Mounting on "/home/technicjelle/Drives/HetznerBackup/"
2026/07/07 22:07:55 DEBUG : Root:
2026/07/07 22:07:55 DEBUG : >Root: node=/, err=<nil>
2026/07/07 22:08:01 DEBUG : .hsh_history: Open: flags=OpenReadOnly+0x40000
2026/07/07 22:08:01 DEBUG : .hsh_history: Open: flags=O_RDONLY|0x40000
2026/07/07 22:08:01 DEBUG : .hsh_history: >Open: fd=.hsh_history (r), err=<nil>
2026/07/07 22:08:01 DEBUG : .hsh_history: >Open: fh=&{.hsh_history (r)}, err=<nil>
2026/07/07 22:08:01 DEBUG : &{Handle:.hsh_history (r)}: Read: len=4096, offset=0
2026/07/07 22:08:01 DEBUG : .hsh_history: ChunkedReader.openRange at 0 length 134217728
2026/07/07 22:08:01 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: Shell path redirected to "/home/.hsh_history" with option path_override
2026/07/07 22:08:01 DEBUG : .hsh_history: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728
2026/07/07 22:08:01 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: Running remote command: md5sum /home/.hsh_history
2026/07/07 22:08:01 ERROR : .hsh_history: ReadFileHandle.Release error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 22:08:01 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 22:08:01 DEBUG : &{Handle:.hsh_history (r)}: >Release: err=failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 22:08:01 DEBUG : &{Handle:.hsh_history (r)}: >Read: read=471, err=<nil>
2026/07/07 22:08:01 DEBUG : &{Handle:.hsh_history (r)}: Flush:
2026/07/07 22:08:01 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: Shell path redirected to "/home/.hsh_history" with option path_override
2026/07/07 22:08:01 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: Running remote command: md5sum /home/.hsh_history
2026/07/07 22:08:01 ERROR : .hsh_history: ReadFileHandle.Flush error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 22:08:01 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 22:08:01 DEBUG : &{Handle:.hsh_history (r)}: >Flush: err=failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 22:08:01 DEBUG : &{Handle:.hsh_history (r)}: Release:
2026/07/07 22:08:01 DEBUG : .hsh_history: ReadFileHandle.Release closing
2026/07/07 22:08:01 DEBUG : .hsh_history: Attr:
2026/07/07 22:08:01 DEBUG : .hsh_history: >Attr: a=valid=1s ino=0 size=471 mode=-rw-r--r--, err=<nil>
2026/07/07 22:08:01 DEBUG : Statfs:
2026/07/07 22:08:01 DEBUG : >Statfs: stat={Blocks:1342001920 Bfree:981311968 Bavail:981311968 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2026/07/07 22:08:01 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: Shell path redirected to "/home/.hsh_history" with option path_override
2026/07/07 22:08:01 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: Running remote command: md5sum /home/.hsh_history
2026/07/07 22:08:01 ERROR : .hsh_history: ReadFileHandle.Release error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 22:08:01 ERROR : IO error: failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
2026/07/07 22:08:01 DEBUG : &{Handle:.hsh_history (r)}: >Release: err=failed to calculate md5 hash: failed to run "md5sum /home/.hsh_history": : ssh: command md5sum /home/.hsh_history failed
^C2026/07/07 22:08:20 INFO : Signal received: interrupt
2026/07/07 22:08:20 DEBUG : sftp://u123456@u123456.your-storagebox.de:22/: vfs cache: cleaner exiting
2026/07/07 22:08:20 NOTICE: /home/technicjelle/Drives/HetznerBackup/: Unmounted rclone mount
2026/07/07 22:08:20 INFO : Exiting...