Crz
June 10, 2021, 12:25pm
1
i got a public windows remote desktop. i don't want someone else get access to my rclone. so i encrypt the file with rclone password. now if i want to download batch file rclone keep asking password for each file download. is there anyway we can set ask password only one time? here is a sample rclone batch script download i using
@echo off
rclone copy "remotename:aa.txt" "D:\Main\test"
rclone copy "remotename:aad.txt" "D:\Main\test"
pause
any other suggestion how to keep secure my rclone info?
asdffdsa
(jojothehumanmonkey)
June 10, 2021, 12:48pm
2
the easist way is to add this to the script.
set RCLONE_CONFIG_PASS=thesecretpassword
that is documented here, alond with other more secure options
https://rclone.org/docs/#configuration-encryption
Crz
June 10, 2021, 1:02pm
3
perfect, but password still can be compromised because batch script has the password
here is an idea. i make a folder. i make server side copy and then download the folder to public remote desktop? any other idea?
asdffdsa
(jojothehumanmonkey)
June 10, 2021, 1:09pm
4
yes, that is correct, and no solution is 100%. there are other options in the documentation.
of course, the bigger problem is exposing a windows computer with rdp onto the internet.
in a batch file, you can run as many command as you need to.
Crz:
any other idea?
you would have to explain your use-case and then i could try to offer a solution.
system
(system)
Closed
August 10, 2021, 9:10am
5
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.