<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://techwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=RClone_-_Remote_Setup</id>
	<title>RClone - Remote Setup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://techwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=RClone_-_Remote_Setup"/>
	<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=RClone_-_Remote_Setup&amp;action=history"/>
	<updated>2026-06-15T11:06:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://techwiki.co.uk/index.php?title=RClone_-_Remote_Setup&amp;diff=135&amp;oldid=prev</id>
		<title>Adam.birds: Created page with &quot;=Remote Setup=  ==Configuring rclone on a remote / headless machine==  Some of the configurations (those involving oauth2) require an Internet connected web browser.  If you a...&quot;</title>
		<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=RClone_-_Remote_Setup&amp;diff=135&amp;oldid=prev"/>
		<updated>2016-04-30T16:17:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Remote Setup=  ==Configuring rclone on a remote / headless machine==  Some of the configurations (those involving oauth2) require an Internet connected web browser.  If you a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Remote Setup=&lt;br /&gt;
&lt;br /&gt;
==Configuring rclone on a remote / headless machine==&lt;br /&gt;
&lt;br /&gt;
Some of the configurations (those involving oauth2) require an Internet connected web browser.&lt;br /&gt;
&lt;br /&gt;
If you are trying to set rclone up on a remote or headless box with no browser available on it (eg a NAS or a server in a datacenter) then you will need to use an alternative means of configuration. There are two ways of doing it, described below.&lt;br /&gt;
&lt;br /&gt;
==Configuring using rclone authorize==&lt;br /&gt;
&lt;br /&gt;
On the headless box&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
Remote config&lt;br /&gt;
Use auto config?&lt;br /&gt;
 * Say Y if not sure&lt;br /&gt;
 * Say N if you are working on a remote or headless machine&lt;br /&gt;
y) Yes&lt;br /&gt;
n) No&lt;br /&gt;
y/n&amp;gt; n&lt;br /&gt;
For this to work, you will need rclone available on a machine that has a web browser available.&lt;br /&gt;
Execute the following on your machine:&lt;br /&gt;
	rclone authorize &amp;quot;amazon cloud drive&amp;quot;&lt;br /&gt;
Then paste the result below:&lt;br /&gt;
result&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then on your main desktop machine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone authorize &amp;quot;amazon cloud drive&amp;quot;&lt;br /&gt;
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth&lt;br /&gt;
Log in and authorize rclone for access&lt;br /&gt;
Waiting for code...&lt;br /&gt;
Got code&lt;br /&gt;
Paste the following into your remote machine ---&amp;gt;&lt;br /&gt;
SECRET_TOKEN&lt;br /&gt;
&amp;lt;---End paste&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then back to the headless box, paste in the code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
result&amp;gt; SECRET_TOKEN&lt;br /&gt;
--------------------&lt;br /&gt;
[acd12]&lt;br /&gt;
client_id = &lt;br /&gt;
client_secret = &lt;br /&gt;
token = SECRET_TOKEN&lt;br /&gt;
--------------------&lt;br /&gt;
y) Yes this is OK&lt;br /&gt;
e) Edit this remote&lt;br /&gt;
d) Delete this remote&lt;br /&gt;
y/e/d&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuring by copying the config file==&lt;br /&gt;
Rclone stores all of its config in a single configuration file. This can easily be copied to configure a remote rclone.&lt;br /&gt;
&lt;br /&gt;
So first configure rclone on your desktop machine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rclone config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to set up the config file.&lt;br /&gt;
&lt;br /&gt;
Find the config file by running '''rclone -h''' and looking for the help for the '''--config''' option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ rclone -h&lt;br /&gt;
[snip]&lt;br /&gt;
      --config=&amp;quot;/home/user/.rclone.conf&amp;quot;: Config file.&lt;br /&gt;
[snip]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now transfer it to the remote box (scp, cut paste, ftp, sftp etc) and place it in the correct place (use '''rclone -h''' on the remote box to find out where).&lt;br /&gt;
&lt;br /&gt;
[[Category:RClone]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Contents]]&lt;/div&gt;</summary>
		<author><name>Adam.birds</name></author>
		
	</entry>
</feed>