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

TopLinux

Introduction

Kanotix, a Debian-based distribution optimized for both beginners and advanced users, thrives on stability and customizability. When selecting cloud storage solutions with Command-Line Interface (CLI) support, it’s crucial to balance security, performance, encryption, and ease of automation. Below is a comprehensive guide on the top cloud storage providers supporting Linux CLI, a detailed comparison table, usage examples, and troubleshooting tips.

Comparison Table of Top Cloud Storage with CLI for Kanotix

Service Official Link CLI Tool Free Tier Encryption Pricing (Starting)
pCloud https://www.pcloud.com/ pcloudcc or rclone 10 GB Client-side available 4.99/mo (500 GB)
MEGA https://mega.nz/ megacmd 20 GB bonuses End-to-end €4.99/mo (400 GB)
Proton Drive https://proton.me/drive proton-drive-cli 1 GB End-to-end 3.99/mo (200 GB)
Filen https://filen.io/ rclone (WebDAV) 6 GB End-to-end 4.49/mo (250 GB)
Tresorit https://tresorit.com/ tresorit-cli 3 GB trial End-to-end 12.50/mo (1 TB)
Icedrive https://icedrive.net/ icectl 10 GB Client-side 4.99/mo (150 GB)
Backblaze B2 https://www.backblaze.com/b2/cloud-storage.html rclone 10 GB Server-side 0.005/GB/mo
Wasabi https://wasabi.com/ rclone 30 days free Server-side 5.99/TB/mo

How to Choose the Right Service

  • Encryption: If maximum privacy is a must, prefer end-to-end providers (MEGA, Proton Drive, Tresorit, Filen).
  • Storage Needs Budget: For large archives on a budget, Backblaze B2 or Wasabi with rclone are unbeatable.
  • CLI Features: Some providers offer full CLI suites (megacmd, pcloudcc, icectl) while others rely on rclone or WebDAV.
  • Performance: Check regional data centers Backblaze and Wasabi perform well for bulk data.
  • Ease of Automation: rclone supports all major services and advanced scripting.

Using Each Service with CLI

1. pCloud

pCloud offers pcloudcc, plus full rclone support.

Install pcloudcc

sudo apt update
sudo apt install git build-essential libcurl4-openssl-dev libcrypto  -dev
git clone https://github.com/pcloudcom/console-client.git
cd console-client
make
sudo make install

Usage Examples

# Login interactively
pcloudcc -u your@email.com -p YourPassword

# List files
pcloudcc list

# Upload a file
pcloudcc upload /path/to/local/file /remote/folder

Common Issues

  • “Connection reset” – check your network or update libcurl.
  • “Untrusted certificate” – ensure system root CAs are up to date.

2. MEGA

MEGA provides MEGAcmd for full CLI control.

Install MEGAcmd

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 6D0B15483106493A
echo deb https://mega.nz/linux/repo/Ubuntu_(lsb_release -rs)/ ./  sudo tee /etc/apt/sources.list.d/mega.list
sudo apt update
sudo apt install megacmd

Usage Examples

# Login
mega-login your@email.com YourPassword

# Upload
mega-put /local/file /root/remoteDir/

# Download
mega-get /root/remoteDir/file /local/dir/

Common Issues

  • “SSL verification failed” – set –no-check-ssl if testing, but fix certificates in production.
  • “Quota exceeded” – check bonus storage expiration.

3. Proton Drive

Use proton-drive-cli to access your Proton Drive.

Install

sudo apt update
sudo apt install python3-pip
pip3 install proton-drive-cli

Usage Examples

# Authorize (opens browser)
proton-drive-cli login

# List files
proton-drive-cli ls

# Upload
proton-drive-cli upload /local/file /Drive/Folder/

# Download
proton-drive-cli download /Drive/Folder/file /local/dir/

Common Issues

  • “Browser auth failed” – ensure default browser is installed (e.g., firefox).
  • “Permission denied” – run commands in a directory with write access.

4. Filen

Filen lacks an official CLI but supports WebDAV best used via rclone.

Configure with rclone

rclone config
# Choose n for new remote
name> filen
Storage> webdav
url> https://webdav.filen.io/
vendor> other
user> YourEmail
pass> YourPassword

Usage Examples

# List
rclone ls filen:

# Sync local to remote
rclone sync /local/dir filen:/backup

# Copy remote to local
rclone copy filen:/backup /local/restore

Common Issues

  • “401 Unauthorized” – double-check credentials and URL.
  • Slow transfers – switch between HTTP/1.1 and HTTP/2 in rclone options.

5. Tresorit

Tresorit provides tresorit-cli.

Install

sudo apt update
wget https://github.com/tresorit/tresorit-cli/releases/download/v1.6.0/tresorit-cli_1.6.0_amd64.deb
sudo dpkg -i tresorit-cli_1.6.0_amd64.deb
sudo apt -f install

Usage Examples

# Login
tresorit login your@email.com

# Create Tresor (encrypted folder)
tresorit tresor-create MyTresor

# Sync a folder
tresorit sync /local/myfolder MyTresor:/RemoteFolder

Common Issues

  • “TLS handshake” – update OpenSSL and ensure system time is correct.
  • “Cannot connect” – check corporate firewall blocking TCP/443.

6. Icedrive

Icedrive offers icectl for CLI usage.

Install

curl -Lo icectl.deb https://github.com/Icedrive/icedrive-cli/releases/latest/download/icectl_amd64.deb
sudo dpkg -i icectl.deb
sudo apt -f install

Usage Examples

# Login
icectl login

# List drives
icectl drives

# Upload file
icectl upload /path/file drive-id:/RemoteDir/

# Download file
icectl download drive-id:/RemoteDir/file /local/dir/

Common Issues

  • “drive-id not found” – use icectl drives to get correct ID.
  • “API rate limit” – wait or upgrade plan.

7. Backblaze B2 (via rclone)

Backblaze B2 is cost-effective for archiving. Use rclone.

Configure

rclone config
# name> b2
# Storage> b2
# account> yourAccountID
# key> yourApplicationKey

Usage Examples

# List buckets
rclone lsd b2:

# Copy local to b2
rclone copy /local/data b2:mybucket/backups

# Sync from b2 to local
rclone sync b2:mybucket/backups /local/restore

Common Issues

  • “400 Bad Request” – verify application key and bucket name.
  • Slow uploads – increase –transfers and –checkers.

8. Wasabi (via rclone)

Wasabi offers flat-rate hot storage. Integrate with rclone S3.

Configure

rclone config
# name> wasabi
# Storage> s3
# provider> Wasabi
# env_auth> false
# access_key_id> YOURKEY
# secret_access_key> YOURSECRET
# region> us-east-1

Usage Examples

# List buckets
rclone lsd wasabi:

# Sync to Wasabi
rclone sync /local/data wasabi:mybucket

# Copy from Wasabi
rclone copy wasabi:mybucket /local/restore

Common Issues

  • “Invalid region” – double-check service.region in Wasabi console.
  • Network timeouts – add –s3-chunk-size 64M.

Conclusion

For Kanotix users seeking robust CLI-driven cloud storage, choices range from fully managed encrypted services (MEGA, Proton Drive, Tresorit, Filen) to cost-effective object storage (Backblaze B2, Wasabi). If you need a unified interface, rclone is indispensable. For the tightest Linux integration, pcloudcc and megacmd shine. Evaluate encryption standards, budget, and automation needs to pick the best fit.

Be the first to leave a comment

Leave a Reply

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