Best cloud storage services with CLI for Zeroshell: (Tutorial)

TopLinux

Introduction

Zeroshell is a specialized Linux distribution designed for network services (VPN, routing, hotspot, DNS, etc.). Although its package set is focused on networking, you can still integrate it with external cloud storage providers via Command-Line Interface (CLI) tools. This article explores the top cloud storage services that offer Linux CLI support (either official or vianbsprclone), compares key features, recommends the best options for Zeroshell, and provides usage examples including typical pitfalls.

Top Recommendations for Zeroshell

  • pCloud – native Linux CLI (pcloud.com)
  • MEGA – official MEGAcmd tool (mega.nz)
  • Proton Drive – unofficial via rclone (proton.me/drive)
  • Filen – unsupported natively, use rclone (filen.io)
  • Tresorit – zero-knowledge but no native CLI, use rclone (tresorit.com)
  • Icedrive – encryption rclone support (icedrive.net)
  • Additional picks: Dropbox (official CLI), Google Drive (rclone), OneDrive (rclone)

Comparison Table

Provider Free Storage Client Type Encryption Linux CLI rclone Price (from) Link
pCloud 10 GB (up to 20 GB) Official Optional client-side Yes (pcloudcc) Yes €4.99/month pcloud.com
MEGA 20 GB Official End-to-end Yes (megacmd) Yes €4.99/month mega.nz
Proton Drive 1 GB Web/desktop End-to-end No (use rclone) Yes €4.99/month proton.me/drive
Filen 10 GB Web/desktop End-to-end No (use rclone) Yes 5.49/month filen.io
Tresorit 0 GB Web/desktop End-to-end No (use rclone) Yes €10.42/month tresorit.com
Icedrive 10 GB Web/desktop Client-side No (use rclone) Yes 4.99/month icedrive.net
Dropbox 2 GB Official In-transit Yes (dropbox-cli) Yes 9.99/month dropbox.com
Google Drive 15 GB Official/web In-transit No (use rclone) Yes 1.99/month google.com/drive

Which One to Choose?

  • Privacy-focused: Proton Drive, Tresorit, Filen
  • Best Free Tier: MEGA (20 GB), pCloud (10–20 GB)
  • Easy Native CLI: pCloud, MEGA, Dropbox
  • Budget: Google Drive via rclone, pCloud
  • Self-hosted friendliness: rclone-compatible services

Using Each with CLI on Zeroshell

Installing rclone (for non-native CLI services)

# Download and install latest rclone
curl https://rclone.org/install.sh  bash
# Verify
rclone version

pCloud (pcloudcc)

# On Debian-based Zeroshell (if apt available)
apt-get update
apt-get install pcloudcc fuse

# Configure and mount
pcloudcc -u you@domain.com -p YourPassword --daemon
mkdir -p /mnt/pcloud
fusermount -u /mnt/pcloud 2>/dev/null
pcloudcc --mountpoint /mnt/pcloud

Typical problems: missing FUSE kernel module, stale mounts (use fusermount -u).

MEGA (MEGAcmd)

# Install MEGAcmd
apt-get install megacmd

# Log in
mega-login you@domain.com YourPassword

# Upload a file
mega-put /path/to/local.file /Root/remote.file

# Mount as virtual drive
mega-mount /mnt/mega

Typical problems: two-factor login requires --authenticator flag, stale mounts must be unmounted with mega-unmount.

Proton Drive via rclone

# Configure Proton Drive
rclone config
# Choose n for new remote, name e.g. proton
# Select protondrive from provider list
# Follow on-screen login in browser
# Mount or sync
rclone mount proton: /mnt/protondrive 
rclone ls proton:

Typical problems: browser-based OAuth may fail on headless systems (use rclone config --config on local machine, then copy config file).

Filen via rclone

rclone config
# New remote, choose filen
# Enter API credentials from Filen web interface
rclone sync /local/folder filen:Backup
rclone mount filen: /mnt/filen 

Typical problems: API limits, ensure correct API key and endpoint region.

Tresorit via rclone

rclone config
# New remote, choose tresorit
# Provide OAuth token via browser
rclone ls tresorit:
rclone copy /data/ important tresorit:SafeVault

Typical problems: long latency, folder names with spaces need quotes.

Icedrive via rclone

rclone config
# New remote, choose icedrive
# Enter token from Icedrive web settings
rclone ls icedrive:
rclone sync /backup icedrive:Backup

Typical problems: refresh tokens expire, re-authorize periodically.

Dropbox (official CLI)

# Install Dropbox CLI
apt-get install python3-gpg dropbox

# Start daemon, get link
dropbox start -i
# Follow link to authenticate

# CLI commands
dropbox status
dropbox exclude add Photos
dropbox filestatus /path/to/file

Typical problems: Python GPG missing, re-run dropbox start -i after updates.

Google Drive via rclone

rclone config
# New remote, choose drive
# Authenticate via browser
rclone ls drive:
rclone copy /data drive:MyBackup

Typical problems: rate-limit (use –drive-chunk-size), headless auth needs manual code.

Conclusion

For Zeroshell environments the easiest native CLI options are pCloud and MEGA. If you prioritize privacy, choose Proton Drive, Tresorit or Filen via rclone. On a budget, Google Drive or Icedrive via rclone delivers ample free storage. Always watch out for FUSE/kernel dependencies, OAuth authentication on headless systems, and API rate limits. With the examples above you can integrate your chosen cloud storage service seamlessly into your Zeroshell-based infrastructure.

Be the first to leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *