Windows CLI to Synology - Can't init

Running the CLI in Windows 10x64… I am struggling to init w/Synology NAS. Here’s my attempts…

duplicacy.exe init mytest smb://192.168.1.11/Test

smb: apparently initializes to my Win10 machine, creating a folder “192.168.1.11”, but does not connect to the NAS via smb.

duplicacy.exe init mytest sftp://192.168.1.11:9876//Test
(where 9876 is the SFTP port).

sftp: requests login info (which I provide) but then asks for the path of the private key file (there is none). Running duplicacy-web on the Syno NAS, I’m able to create an sftp connection to a second NAS without entering a private key. But I don’t see how to do this using the CLI. If I simply use the “enter” key at that step, I get …

Failed to load the sftp storage at //192.168.1.11:9876//Test handshake failed: ssh: unable to authenticate, attempted methods [none password publickey], no supported methods remain

What am I overlooking? Thank you.

The user name is missing from the storage url. It should be:

duplicacy.exe init mytest sftp://user@192.168.1.11:9876//Test

Thank you. I missed that completely.

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