Docker Volume Plugin [none password], no supported method

I'm trying to run the Docker Volume Plugin I want to mount a folder from a remote server.

I verified that I can connect to the server via sftp and this works over port 22.

sftp root@
Connected to

But running:

docker volume create firstvolume -d rclone -o type=sftp -o sftp-host= -o sftp-user=root -o sftp-pass=<mybase64pass> -o path=/mnt/pve/cephfs/docker/ -o allow-other=true

fails with:

Error response from daemon: create firstvolume: VolumeDriver.Create: NewFs: couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported method

What am I missing?

PS: I also tried a sftp-keyfile but then I get a keyfile location error, but if I cat the file-path its fine.

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