Introduction
BackBox Linux is a Ubuntu-based distribution optimized for security testing and penetration testing. While it comes with many native GUI tools, a command-line interface (CLI) for cloud storage can streamline workflows, automate backups, and integrate seamlessly into scripts. Below is an extensive overview of the best cloud storage services offering robust CLI tools on BackBox Linux.
Top Cloud Storage Providers with CLI Support
- pCloud
- MEGA
- Proton Drive
- Filen
- Tresorit
- Icedrive
- Dropbox (via official CLI)
- Google Drive (via rclone)
- Nextcloud (official client third-party scripts)
- Seafile (seaf-cli)
Comparison Table
| Provider | Free Tier | Encryption | CLI Tool | Official Link |
|---|---|---|---|---|
| pCloud | 10 GB | Client-side (optional) | pcloudcc | pcloud.com |
| MEGA | 20 GB | End-to-end | megacmd | mega.nz |
| Proton Drive | 1 GB | End-to-end | rclone / beta CLI | proton.me/drive |
| Filen | 10 GB | Client-side | filen-cli | filen.io |
| Tresorit | 3 GB | End-to-end | tresorit-cli | tresorit.com |
| Icedrive | 10 GB | Client-side | icedrive-cli | icedrive.net |
| Dropbox | 2 GB | SSL/TLS | dropbox-cli | dropbox.com |
| Google Drive | 15 GB | SSL/TLS | rclone | rclone.org/drive |
| Nextcloud | Self-hosted | Optional end-to-end | nextcloud-client / occ | nextcloud.com |
| Seafile | Self-hosted | Optional | seaf-cli | seafile.com |
Top Recommendations for BackBox Linux
- pCloud: Easy install, solid encryption options, low CPU use. Great for pentesters who need automated backups.
- MEGA: High free storage, built-in e2e encryption, Linux megacmd package.
- Rclone-based: Use rclone with Google Drive or Proton Drive for flexible multi-cloud mounts and scripting.
Installation Basic Usage
1. pCloud (pcloudcc)
Official CLI client: pcloudcc.
# Add repository and install curl -O https://downloads.pcloud.com/linux/pcloudcc_2.2.0_amd64.deb sudo dpkg -i pcloudcc_2.2.0_amd64.deb sudo apt-get install -f # Log in pcloudcc -u youremail@example.com -p YourPassword # Sync a folder pcloudcc -s /home/user/backups:/BackBoxBackups
Common issues: If “service not found,” ensure /etc/systemd/system/pcloudcc.service is enabled:
sudo systemctl enable pcloudcc sudo systemctl start pcloudcc
2. MEGA (megacmd)
# Install megacmd sudo apt-get update sudo apt-get install megacmd # Login mega-login youremail@example.com YourPassword # Upload mega-put /path/to/local/file /BackBoxFolder # Sync mega-sync /home/user/documents /BackBoxSync
Troubleshoot: If “mega-login” fails, check network connectivity and re-run with quot–disable-ssl-verificationquot only for testing.
3. Proton Drive (via rclone)
# Install rclone curl https://rclone.org/install.sh sudo bash # Configure Proton Drive rclone config # Steps: new remote gt name=protondrive gt storage=drive gt drive_scope=drive gt client_id= ltentergt client_secret=ltentergt scope=drive.file gt root_folder_id gt service_account_file gt confirm # List files rclone ls protondrive: # Sync local to cloud rclone sync /home/user/project protondrive:ProjectBackup
Note: Proton Drive support in rclone is in beta. Expect occasional API changes.
4. Filen (filen-cli)
# Download binary wget https://github.com/filen-io/filen-cli/releases/download/v1.0.0/filen-linux-amd64 chmod x filen-linux-amd64 sudo mv filen-linux-amd64 /usr/local/bin/filen # Login filen login # Upload file filen upload ./report.pdf # Download file filen download file_id
5. Tresorit (tresorit-cli)
# Download and install wget https://d1wpjfo25b3sc1.cloudfront.net/builds/linux/tresorit-cli-linux-x64-v1.2.0.tar.gz tar xzf tresorit-cli-.tar.gz sudo cp tresorit /usr/local/bin/ # Initialize client tresorit login # Sync folder tresorit sync /home/user/tresorit-folder
6. Icedrive (icedrive-cli)
# Download AppImage wget https://github.com/Icedrive-App/Icedrive-CLI/releases/download/v0.5.0/icedrive-cli.AppImage chmod x icedrive-cli.AppImage # Authenticate ./icedrive-cli.AppImage login # Mount drive ./icedrive-cli.AppImage mount ~/Icedrive
7. Dropbox (dropbox-cli)
# Install sudo apt-get install python3-gpg dropbox # Start daemon dropbox start -i # CLI commands dropbox status dropbox filestatus ~/BackBox
8. Google Drive (rclone)
See Proton Drive above—replace remote name and choose quotdrivequot storage type.
9. Nextcloud (nextcloud-client)
sudo apt-get install nextcloud-client # Launch GUI or nextcloud --confdir ~/.config/nextcloud/ # Occ commands for admins on server sudo -u www-data php occ files:scan --all
10. Seafile (seaf-cli)
# Install sudo apt-get install seaf-cli # Clone library seaf-cli clone https://server/seafile -l ~/Seafile my-library-uuid # Sync seaf-cli start
Which One to Choose?
Choose based on your criteria:
- Security: MEGA, Tresorit, Proton Drive for end-to-end encryption.
- Storage size: MEGA, Google Drive, pCloud.
- Automation multi-cloud: rclone with Google Drive or Proton Drive.
- Self-hosting: Nextcloud or Seafile for full control.
Typical Problems Troubleshooting
- Authentication failures: Re-run login commands, check credentials and two-factor settings.
- API rate limits: Spread sync jobs over time, use backoff in scripts.
- Mounts unresponsive: Unmount and remount the drive ensure FUSE dependencies are installed.
- Dependency errors: Use apt-get -f install or install missing libraries (libfuse2, libssl).
With the above CLI tools and tips, BackBox Linux users can securely manage cloud storage directly from the terminal, fully automate backups, and integrate cloud workflows into penetration-testing scripts.
Be the first to leave a comment