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@192.168.1.14
Connected to 192.168.1.14.
sftp>

But running:

docker volume create firstvolume -d rclone -o type=sftp -o sftp-host=192.168.1.14 -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.