mirror of
https://github.com/rclone/rclone.git
synced 2024-11-08 01:25:14 +01:00
395f259978
Bind rclone standard input to password command's standard input. This allows to provide password from a pipe and collect it using cat. The typical use case is when rclone is on a remote server with an encrypted configuration. This solved the environment variable issue (#3368) and the password storage on remote host. Now the following chain is allowed: echo 'secret' | ssh host.example.com \ sudo -u rclone \ rclone --config /path/to/rclone.conf \ --password-command 'cat' ls remote: Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org> Co-authored-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org> |
||
---|---|---|
.. | ||
configflags | ||
configmap | ||
configstruct | ||
flags | ||
obscure | ||
testdata | ||
config_other.go | ||
config_read_password_unsupported.go | ||
config_read_password.go | ||
config_test.go | ||
config_unix.go | ||
config.go | ||
rc_test.go | ||
rc.go |