Trying to mount a directory from my Remote server to my unRAID server

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

I am trying to mount a directory from my main server on my unRAID server using rclone (this config works on another one of my servers, but won't work on my unRAID server for some reason.

Run the command 'rclone version' and share the full output of the command.

rclone v1.65.0

  • os/version: slackware 15.0+ (64 bit)
  • os/kernel: 6.1.64-Unraid (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.4
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

SFT/SSH

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount --links --dir-cache-time 30s --allow-other --allow-non-empty --read-only ovhus:mounts/ezdrive /mnt/cache/plexified/mounts/ezdrive

The rclone config contents with secrets removed.

[ovhus]
type = sftp
host =  **********************************
pass = **********************************
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum

A log from the command with the -vv flag

2023/12/29 09:34:03 DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "-vv" "mount" "--links" "--dir-cache-time" "30s" "--allow-other" "--allow-non-empty" "--read-only" "ovhus:mounts/ezdrive" "/mnt/cache/plexified/mounts/ezdrive"]
2023/12/29 09:34:03 DEBUG : Creating backend with remote "ovhus:mounts/ezdrive"
2023/12/29 09:34:03 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/12/29 09:34:06 DEBUG : pacer: low level retry 1/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain)
2023/12/29 09:34:06 DEBUG : pacer: Rate limited, increasing sleep to 200ms
2023/12/29 09:34:10 DEBUG : pacer: low level retry 2/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain)
2023/12/29 09:34:10 DEBUG : pacer: Rate limited, increasing sleep to 400ms
2023/12/29 09:34:16 DEBUG : pacer: low level retry 3/10 (error couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain)
2023/12/29 09:34:16 DEBUG : pacer: Rate limited, increasing sleep to 800ms

maybe you would need a user in the config.

What do you mean by user? and which config?

And what would the user be, from the unRAID machine or the remote machine?

as per rclone docs,
https://rclone.org/sftp/#sftp-user

the user that has permission to log into the sftp server.

I'm not sure how to configure this, this is a new scenario for me.

I've installed stfp/ssh on the unRAID server but not sure what I need to do to be able to mount the directory from my remote server. Its a bit confusing for me.

for now, forget about rclone.

  1. use another other sftp client, such as filezilla, login to that sftp server.
    what login methods does that sftp server support, password, key or what?

  2. once that is working, we can setup rclone.

Well I can tell you that the remote server :ovus in this case I can login via SSH and SFTP from any device with the user/password to the server.

On my unRAID, SSH or SFTP doesn't work. I'm unsure how to set this up, I do believe this is the reason that rclone won't work, because on my other remote server, SSH and SFTP works on those too, but they are just Linux Ubuntu 22.04 installs. This is the first time I am using unRAID as I am starting to move away from cloud storage and go local.

I'm not sure what I need to do on unRAID to make it so SSH and SFTP are accessible/working

perhaps that is a question for the unraid forum.

I've done a bit of research on my unRAID machine and I can get ssh root:192.168.1.19 and this works correctly, I can log in on my local network.

But when I try to login via my main IP, I get ssh: connect to host port 22: Connection refused

I'm tearing my hair out here

not a rclone question, not really a unraid question.
if you want to access an internal server over the internet, need to tweak the router or use a vpn, tailscale, etc...

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.