Cannot add Hetzner Storage Box via sshfs
-
Yes, exactly, it works now!
Maybe there could be a dedicated tutorial in https://docs.cloudron.io/backups/ as many people seem to use it as a backup provider. I had to look up a few other things in the process to make it work.
-
I also used a passphrase the first time I had to setup hetzner storage via sshfs, for me it's a best practice so I always put a passphrase.
-
Ahhh.
I did not expect that
-
J joseph marked this topic as a question on
-
J joseph has marked this topic as solved on
-
Have the same issue, error logs seems to be the same pretty much:
<...> errored BoxError: mounts exited with code 3 signal null at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:137:19) at ChildProcess.emit (node:events:519:28) at ChildProcess._handle.onexit (node:internal/child_process:294:12) { reason: 'Shell Error', details: {}, code: 3, signal: null } 2025-04-10T11:37:24.641Z box:shell mounts: mountpoint -q -- /mnt/backup-storage-validation 2025-04-10T11:37:29.648Z box:shell mounts: mountpoint -q -- /mnt/backup-storage-validation errored BoxError: mountpoint exited with code null signal SIGTERM at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:72:23) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5) { reason: 'Shell Error', details: {}, stdout: <Buffer >, stdoutLineCount: 0, stderr: <Buffer >, stderrLineCount: 0, code: null, signal: 'SIGTERM' }SSH key comes without password, and I can connect via SSH - no problems:
ssh -p23 u1212121@u1212121.your-storagebox.de -i hetznerI've tried to pick up systemd file for troubleshooting, but I didn't find any in the system - guess it's removed if no luck connecting.
Any help would be much appreciated!
-
Have the same issue, error logs seems to be the same pretty much:
<...> errored BoxError: mounts exited with code 3 signal null at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:137:19) at ChildProcess.emit (node:events:519:28) at ChildProcess._handle.onexit (node:internal/child_process:294:12) { reason: 'Shell Error', details: {}, code: 3, signal: null } 2025-04-10T11:37:24.641Z box:shell mounts: mountpoint -q -- /mnt/backup-storage-validation 2025-04-10T11:37:29.648Z box:shell mounts: mountpoint -q -- /mnt/backup-storage-validation errored BoxError: mountpoint exited with code null signal SIGTERM at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:72:23) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5) { reason: 'Shell Error', details: {}, stdout: <Buffer >, stdoutLineCount: 0, stderr: <Buffer >, stderrLineCount: 0, code: null, signal: 'SIGTERM' }SSH key comes without password, and I can connect via SSH - no problems:
ssh -p23 u1212121@u1212121.your-storagebox.de -i hetznerI've tried to pick up systemd file for troubleshooting, but I didn't find any in the system - guess it's removed if no luck connecting.
Any help would be much appreciated!
@potemkin_ai Did you specify
/homeasRemote Directory? -
@potemkin_ai Did you specify
/homeasRemote Directory?@andreasdueren sure!
-
P potemkin_ai referenced this topic on
-
@andreasdueren sure!
@potemkin_ai Looks like it might be a networking issue. Is the storage box responding to a ping if you ping it from the server? The SIGTERM suggests the command timed out waiting for a response, indicating the storage device might be unresponsive or inaccessible.
-
@potemkin_ai
Be aware, Hetzner Storage Box via port 23 sshfs has fail2ban.
After some attempts you get blocked for some time.@potemkin_ai can you test if these steps work:
https://forum.cloudron.io/post/105362
Test it locally and on your server. -
Like I've told:
I can connect via SSH - no problems:
ssh -p23 u1212121@u1212121.your-storagebox.de -i hetzner=> not a networking issue and 23 port works fine.
Looks more like a SW bug to me: https://forum.cloudron.io/topic/13634/addmount.sh-script-error-prevents-sshfs-mount
-
@potemkin_ai can you these steps work:
https://forum.cloudron.io/post/105362It looks like the following option is missing to make sshfs actually work with SSH keys authorization:
-o IdentityFile=hetzner_storage_boxBut yeah - it works.
According to the Cloudron logs, the failure is happening not while trying to mount, but at the stage of mounting - as the parser fails to extract 'Where' (instead of just getting it as an input, for example).
-
and
nc -vv u12121212.your-storagebox.de 23from the server - does not@BrutalBirdie , as stupid as it could be - I might get trapped with Hetzner's fail2ban - thanks for pointing that out.
-
It was not fail2ban - it was IPv6 connection which is failing, as IPv6 disabled (to ensure mail works well). Hetzner's supported provided a very quick and efficient verification / troubleshooting step:
ssh -vvv -p 23 user@server- hope that will be of use for anyone else in the future.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login