Couldn't initialize SFTP: EOF

Problem

Attempting to sync with an Ubiquiti Dream Machine over SSH, but fail with the message in the title.

rclone Version

1.53.3.0

OS Version

Windows Server 2019 x64

Command

"C:\Program Files\rclone\rclone.exe" sync -i UDMP-Backup:mnt/data/unifi-os/unifi/data/backup C:\Users\tyler.montney\Desktop -vv

Config

[UDMP-Backup]
type = sftp
host = MY-UDM
user = root
pass = abcdefg12345

Log

"C:\Program Files\rclone\rclone.exe" sync -i UDMP-Backup:mnt/data/unifi-os/unifi/data/backup C:\Users\tyler.montney\Desktop -vv
2021/01/12 09:44:07 DEBUG : rclone: Version "v1.53.3" starting with parameters ["C:\\Program Files\\rclone\\rclone.exe" "sync" "-i" "UDMP-Backup:mnt/data/unifi-os/unifi/data/backup" "C:\\Users\\tyler.montney\\Desktop" "-vv"]
2021/01/12 09:44:07 DEBUG : Using config file from "C:\\Users\\tyler.montney\\.config\\rclone\\rclone.conf"
2021/01/12 09:44:07 DEBUG : Creating backend with remote "UDMP-Backup:mnt/data/unifi-os/unifi/data/backup"
2021/01/12 09:44:07 DEBUG : sftp://root@MY-UDM:22/mnt/data/unifi-os/unifi/data/backup: New connection 192.168.0.100:53949->192.168.0.101:22 to "SSH-2.0-dropbear_2018.76"
2021/01/12 09:44:07 DEBUG : pacer: low level retry 1/10 (error couldn't initialise SFTP: EOF)
2021/01/12 09:44:07 DEBUG : pacer: Rate limited, increasing sleep to 200ms
.........
2021/01/12 09:44:18 DEBUG : sftp://root@MY-UDM:22/mnt/data/unifi-os/unifi/data/backup: New connection 192.168.0.100:53970->192.168.0.101:22 to "SSH-2.0-dropbear_2018.76"
2021/01/12 09:44:18 DEBUG : pacer: low level retry 10/10 (error couldn't initialise SFTP: EOF)
2021/01/12 09:44:18 Failed to create file system for "UDMP-Backup:mnt/data/unifi-os/unifi/data/backup": NewFs: couldn't initialise SFTP: EOF

From what I read here: https://community.ui.com/questions/Cant-SFTP-to-Dream-Machine/2b1ab1ce-c93b-4488-bbab-8df2cdbedc94

It doesn't support SFTP. Rclone uses SFTP which is a separate protocol which runs over SSH.

It looks like it does support SCP but rclone doesn't support that yet.

I don't know if you can install SFTP? Maybe you can switch out dropbear for openssh?

hello and welcome to the forum.

i would be careful, not to sync to the desktop folder, as rclone can delete files during the sync.
better to use a sub-folder

Ah, silly mistake on my part.

Since it's an appliance, I'm not comfortable tinkering with it. I'll just have to find something that supports SCP.

Cloning to the desktop was a test. I'll be using a proper folder in production.

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