Hi, just started looking into Rclone on my Chromebook running Debian (Bookworm).
What is the problem you are having with rclone?
Not sure if it is a problem. When setting up a remote to iCloud, when issueing "rclone config" to create a new remote to an ICloud Drive, ICloud sends two 2FA confirmation codes to my iPhone. I click okay on both and (so far) everything looks okay, but this seems wrong, so I'm reporting it. The second 2FA code seems to come after I enter the first 2FA code in "rclone config".
Run the command 'rclone version' and share the full output of the command.
rclone v1.69.1
- os/version: debian 12.10 (64 bit)
- os/kernel: 6.6.72-gbe485e577c3a (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.0
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
iclouddrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone config
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[HPCB]
type = iclouddrive
apple_id = XXX
password = XXX
cookies = XXX
trust_token = XXX
A log from the command that you were trying to run with the -vv
flag
2025/04/29 20:36:35 DEBUG : rclone: Version "v1.69.1" starting with parameters ["rclone" "config" "-vv"]
2025/04/29 20:36:35 DEBUG : Using config file from "/home/dsmasterson/.config/rclone/rclone.conf"
No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
Enter name for new remote.
name> HPCB
Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
1 / 1Fichier
\ (fichier)
2 / Akamai NetStorage
\ (netstorage)
3 / Alias for an existing remote
\ (alias)
4 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, ArvanCloud, Ceph, ChinaMobile, Cloudflare, DigitalOcean, Dreamhost, GCS, HuaweiOBS, IBMCOS, IDrive, IONOS, LyveCloud, Leviia, Liara, Linode, Magalu, Minio, Netease, Outscale, Petabox, RackCorp, Rclone, Scaleway, SeaweedFS, Selectel, StackPath, Storj, Synology, TencentCOS, Wasabi, Qiniu and others
\ (s3)
5 / Backblaze B2
\ (b2)
6 / Better checksums for other remotes
\ (hasher)
7 / Box
\ (box)
8 / Cache a remote
\ (cache)
9 / Citrix Sharefile
\ (sharefile)
10 / Cloudinary
\ (cloudinary)
11 / Combine several remotes into one
\ (combine)
12 / Compress a remote
\ (compress)
13 / Dropbox
\ (dropbox)
14 / Encrypt/Decrypt a remote
\ (crypt)
15 / Enterprise File Fabric
\ (filefabric)
16 / FTP
\ (ftp)
17 / Files.com
\ (filescom)
18 / Gofile
\ (gofile)
19 / Google Cloud Storage (this is not Google Drive)
\ (google cloud storage)
20 / Google Drive
\ (drive)
21 / Google Photos
\ (google photos)
22 / HTTP
\ (http)
23 / Hadoop distributed file system
\ (hdfs)
24 / HiDrive
\ (hidrive)
25 / ImageKit.io
\ (imagekit)
26 / In memory object storage system.
\ (memory)
27 / Internet Archive
\ (internetarchive)
28 / Jottacloud
\ (jottacloud)
29 / Koofr, Digi Storage and other Koofr-compatible storage providers
\ (koofr)
30 / Linkbox
\ (linkbox)
31 / Local Disk
\ (local)
32 / Mail.ru Cloud
\ (mailru)
33 / Mega
\ (mega)
34 / Microsoft Azure Blob Storage
\ (azureblob)
35 / Microsoft Azure Files
\ (azurefiles)
36 / Microsoft OneDrive
\ (onedrive)
37 / OpenDrive
\ (opendrive)
38 / OpenStack Swift (Rackspace Cloud Files, Blomp Cloud Storage, Memset Memstore, OVH)
\ (swift)
39 / Oracle Cloud Infrastructure Object Storage
\ (oracleobjectstorage)
40 / Pcloud
\ (pcloud)
41 / PikPak
\ (pikpak)
42 / Pixeldrain Filesystem
\ (pixeldrain)
43 / Proton Drive
\ (protondrive)
44 / Put.io
\ (putio)
45 / QingCloud Object Storage
\ (qingstor)
46 / Quatrix by Maytech
\ (quatrix)
47 / SMB / CIFS
\ (smb)
48 / SSH/SFTP
\ (sftp)
49 / Sia Decentralized Cloud
\ (sia)
50 / Storj Decentralized Cloud Storage
\ (storj)
51 / Sugarsync
\ (sugarsync)
52 / Transparently chunk/split large files
\ (chunker)
53 / Uloz.to
\ (ulozto)
54 / Union merges the contents of several upstream fs
\ (union)
55 / Uptobox
\ (uptobox)
56 / WebDAV
\ (webdav)
57 / Yandex Disk
\ (yandex)
58 / Zoho
\ (zoho)
59 / iCloud Drive
\ (iclouddrive)
60 / premiumize.me
\ (premiumizeme)
61 / seafile
\ (seafile)
Storage> 59
2025/04/29 20:37:02 DEBUG : HPCB: config in: state="*all", result=""
2025/04/29 20:37:02 DEBUG : HPCB: config out: out=&{State:*all-set,0,false Option: OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:02 DEBUG : HPCB: config: reading config parameter "apple_id"
Option apple_id.
Apple ID.
Enter a value.
apple_id> dsmasterson@gmail.com
2025/04/29 20:37:24 DEBUG : HPCB: config in: state="*all-set,0,false", result="dsmasterson@gmail.com"
2025/04/29 20:37:24 DEBUG : Saving config "apple_id" in section "HPCB" of the config file
2025/04/29 20:37:24 DEBUG : HPCB: config out: out=&{State:*all,1,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:24 DEBUG : HPCB: config in: state="*all,1,false", result=""
2025/04/29 20:37:24 DEBUG : HPCB: config out: out=&{State:*all-set,1,false Option: OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:24 DEBUG : HPCB: config: reading config parameter "password"
Option password.
Password.
Choose an alternative below.
y) Yes, type in my own password
g) Generate random password
y/g> y
Enter the password:
password:
Confirm the password:
password:
2025/04/29 20:37:53 DEBUG : HPCB: config in: state="*all-set,1,false", result="OLEVVRk3h0uFXiooXdnMRPSJSKXbA_qhjMhS"
2025/04/29 20:37:53 DEBUG : Saving config "password" in section "HPCB" of the config file
2025/04/29 20:37:53 DEBUG : HPCB: config out: out=&{State:*all,2,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:53 DEBUG : HPCB: config in: state="*all,2,false", result=""
2025/04/29 20:37:53 DEBUG : HPCB: config out: out=&{State:*all,3,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:53 DEBUG : HPCB: config in: state="*all,3,false", result=""
2025/04/29 20:37:53 DEBUG : HPCB: config out: out=&{State:*all,4,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:53 DEBUG : HPCB: config in: state="*all,4,false", result=""
2025/04/29 20:37:53 DEBUG : HPCB: config out: out=&{State:*all,5,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:53 DEBUG : HPCB: config in: state="*all,5,false", result=""
2025/04/29 20:37:53 DEBUG : HPCB: config out: out=&{State:*all,6,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:53 DEBUG : HPCB: config in: state="*all,6,false", result=""
2025/04/29 20:37:53 DEBUG : HPCB: config out: out=&{State:*all,7,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:53 DEBUG : HPCB: config in: state="*all,7,false", result=""
2025/04/29 20:37:53 DEBUG : HPCB: config out: out=&{State:*all-advanced Option:false OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:53 DEBUG : HPCB: config: reading config parameter "config_fs_advanced"
Edit advanced config?
y) Yes
n) No (default)
y/n> n
2025/04/29 20:37:59 DEBUG : HPCB: config in: state="*all-advanced", result="false"
2025/04/29 20:37:59 DEBUG : HPCB: config out: out=&{State:*postconfig Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:37:59 DEBUG : HPCB: config in: state="*postconfig", result=""
2025/04/29 20:37:59 DEBUG : HPCB: config in: state="", result=""
2025/04/29 20:37:59 DEBUG : icloud: Authenticating as dsmasterson@gmail.com
2025/04/29 20:38:00 DEBUG : Saving config "cookies" in section "HPCB" of the config file
2025/04/29 20:38:00 DEBUG : HPCB: config out: out=&{State:2fa_do Option: OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:38:00 DEBUG : HPCB: config out: out=&{State:2fa_do Option: OAuth:<nil> Error: Result:}, err=<nil>
2025/04/29 20:38:00 DEBUG : HPCB: config: reading config parameter "config_2fa"
Option config_2fa.
Two-factor authentication: please enter your 2FA code
Enter a value.
config_2fa> 193836
2025/04/29 20:38:24 DEBUG : HPCB: config in: state="2fa_do", result="193836"
2025/04/29 20:38:27 DEBUG : Saving config "trust_token" in section "HPCB" of the config file
2025/04/29 20:38:27 DEBUG : Saving config "cookies" in section "HPCB" of the config file
2025/04/29 20:38:27 DEBUG : HPCB: config out: out=<nil>, err=<nil>
Configuration complete.
Options:
- type: iclouddrive
- apple_id: dsmasterson@gmail.com
- password: *** ENCRYPTED ***
- cookies: X-APPLE-WEBAUTH-HSA-TRUST=1792fbdf000d1582158d43d0b4ac54429505475cd263ae8d8fdb935713a48c17_HSARMTKNSRVXWFlaFn8Wq6e8326RXgxtHQf01VhEqg5/Rhx6UlKh5D/Io15XsA9PAtpf9NUlVubHkLib2FwiyhrkIzXcwMVXXTqbyNzGN13DBXBWx3FjlYiMIyVbB9NY+Ed1X7fK5y8uMs844qbb6ea267SjM+WZ1AMjcialxJNmNfB4aKXiQGYdwqcPySOh9MdwzcXaGw==SRVX;X-APPLE-WEBAUTH-PCS-Events=TGlzdEFwcGw6MTpBcHBsOjE6AQNjZuF8voXH6NBb9oSvQ4OB5xT9ff0gp2QJtR3ojx3oCAtYnZn+TCJKdBbIhlOwGg0zaMz96WOyfWZBJkaL7YaVPj/Ao2lRuVbhv3CcPmnow/GsOrtTxyRWf2zejud9ESODlKyUpRkKrr4AJ3k0qEkYSSlQX/+zVlvCyKQjLjx8YhK80DmXGA==;X-APPLE-WEBAUTH-PCS-Documents=TGlzdEFwcGw6MTpBcHBsOjE6AXcJSGvxWic2/PjOPUdit24lQLnL1asQVFW7LtrsTUhhDp77LGT0gjbfce1DzQJdOSchrKXd7nrgvXHX50mRzxBuxut5xlt1mnua3gz9zr39HeQ1UZmOPs82IgJdpbJxkCSsHz7Rel8UGnd+rApJ2Yg3S4BnzDC3H1K/F5OW1IILVdCaWViLtg==;X-APPLE-WEBAUTH-PCS-Photos=TGlzdEFwcGw6MTpBcHBsOjE6AfXlyu3/TQwDiCr9/D1T9gjC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g74NBOaa/IBdooS7Y4puhfi7RxLgeUHcnnDJN27XcFHDJeCX4MKvxK02e24BxcH5eNCRe5lCNHe3To04IghWihYb1joyBT8BK4t3Dxfdtn9j9CjtlTG7MbQdjnDFSNIs6Lj4s4mIEEOsDnfMdTUafSBVIPJouPYI2yBuBcMn9EI3WuCfSuPfoLDjdRCOZkQM8WamAeVGLF/ezv2j/cHqUyc;
- trust_token: HSARMTKNSRVXWFlaFn8Wq6e8326RXgxtHQf01VhEqg5/Rhx6UlKh5D/Io15XsA9PAtpf9NUlVubHkLib2FwiyhrkIzXcwMVXXTqbyNzGN13DBXBWx3FjlYiMIyVbB9NY+Ed1X7fK5y8uMs844qbb6ea267SjM+WZ1AMjcialxJNmNfB4aKXiQGYdwqcPySOh9MdwzcXaGw==SRVX
Keep this "HPCB" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y
Current remotes:
Name Type
==== ====
HPCB iclouddrive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q>