How to mount SFTP drive with one line syntax

It seems that it can use rclone ls command with this syntax.

rclone ls --sftp-host=127.0.0.1 --sftp-port=1001 --sftp-user=rcloneuser --sftp-pass=password@ :sftp:

But there are two problems with this command

First, I cannot use this command for rclone mount it can only use it for rclone ls
Second, in password part my password has @ in the end, So When I use command it shows me this error.

[Error]

Failed to create file system for ":sftp:": base64 decode failed when revealing password - is it obscured?: illegal base64 data at input byte 0

Is there anyway to make this one line command?

Temporary config with Disk mount.

  • in password part my password has @ in the end, So When I use command it shows me this error.

use quotation mark for your password :
pass="password@"

hello and welcome to the forum,

you need to obscure the password and then pass the obsucred version to rclone
https://rclone.org/sftp/#sftp-pass

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