How to hide user and pass on rclone mount command

What is the problem you are having with rclone?

I wonder how to hide the user and password on a rclone mount with --rc
i can see the user and password on htop


have any way to hide this information from other users on the same server?

Run the command 'rclone version' and share the full output of the command.

rclone v1.57.0

  • os/version: debian 10.11 (64 bit)
  • os/kernel: 4.19.0-18-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.2
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount GDRIVE: /home/USER/GDRIVE \
--vfs-cache-mode full \
--log-file=/home/USER/union.log \
--log-level INFO \
--rc \
--rc-addr :5566 \
--rc-user=1234 \

The rclone config contents with secrets removed.

don't need

A log from the command with the -vv flag

don't need

Make a htpasswd file and pass the location with the --rc-htpasswd flag.

Debian has the htpasswd tool for making the right kinds of file. There is an example here: rclone serve http

1 Like

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