Introduction
SELKS (Suricata Embedded Linux Kernel Sensor) is a specialized Debian-based security distribution tailored to monitoring and threat detection. In environments where data confidentiality and seamless backups are critical, integrating a reliable cloud storage solution with robust CLI support becomes a must. This article presents the best cloud storage services offering native or community-driven CLI tools on Linux SELKS, compares their features, guides you through setup and common pitfalls, and helps you choose the right one for your needs.
Top Recommendations for SELKS
- pCloud – Strong encryption, user-friendly CLI, zero-knowledge optional.
- MEGA – End-to-end encrypted, generous free plan, official
mega-cmd. - Proton Drive – High privacy standards, beta CLI support.
- Filen – Swiss-hosted, zero-knowledge, active CLI community.
- Tresorit – Enterprise-grade security, encrypted CLI client.
- Icedrive – Modern UI, Twofish encryption, CLI in early development.
- Dropbox – Mature, third-party scripts (
Dropbox-Uploader). - Google Drive – Ubiquitous, community CLI
gdrive. - OneDrive – Integrated with Microsoft, open-source
onedriveclient.
Feature Comparison
| Provider | Official CLI | Encryption | Free Storage | Price from | Link |
|---|---|---|---|---|---|
| pCloud | Yes (pcloudcc) |
Optional zero-knowledge | 10 GB | €4.99/month | Visit |
| MEGA | Yes (mega-cmd) |
End-to-end | 20 GB | €4.99/month | Visit |
| Proton Drive | Beta | End-to-end | 1 GB | €4.99/month | Visit |
| Filen | Community | Zero-knowledge | 10 GB | €3.99/month | Visit |
| Tresorit | Yes (tresorit-cli) |
End-to-end | 3 GB | €9.99/month | Visit |
| Icedrive | Alpha | Twofish, zero-knowledge | 10 GB | €4.99/month | Visit |
| Dropbox | Unofficial | At-rest | 2 GB | €9.99/month | Visit |
| Google Drive | Unofficial | At-rest | 15 GB | €1.99/month | Visit |
| OneDrive | Unofficial | At-rest | 5 GB | €2.50/month | Visit |
Which One to Choose?
Your selection depends on priorities:
- Privacy-first: MEGA, Proton Drive, Tresorit, Filen.
- Balance of price and space: pCloud, Icedrive.
- Ubiquity ecosystem: Google Drive, Dropbox, OneDrive.
- Enterprise features: Tresorit, Proton Business, MEGA Enterprise.
For a SELKS server where CLI scripts automate backups, pCloud and MEGA stand out for stability. For military-grade confidentiality, Tresorit or Proton Drive are best.
CLI Setup Usage
pCloud (pcloudcc)
Official pCloud CLI daemon for Linux. Supports mount, sync and upload/download.
Installation:
wget https://downloads.pcloud.com/linux/pcloudcc_amd64.deb sudo dpkg -i pcloudcc_amd64.deb sudo apt-get install -f
Authentication:
pcloudcc -u you@example.com -p YourPassword
Mount pCloud as filesystem:
mkdir ~/pcloud pcloudcc -m ~/pcloud
Common issues:
If “pcloudcc: command not found” appears, add /usr/bin to your PATH or check installation logs. For FUSE errors, install fuse package.
MEGA (mega-cmd)
Strong encryption with official CLI.
Installation:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6D2D1F8C echo deb https://mega.nz/linux/MEGAsync/xUbuntu_(lsb_release -rs) ./ sudo tee /etc/apt/sources.list.d/mega.list sudo apt update sudo apt install megacmd
Login basic commands:
mega-login you@example.com YourPassword mega-mkdir /Root/backup mega-put /var/log /Root/backup mega-sync /var/log /Root/log_backup
Typical pitfalls:
If “error: ENOSPC” occurs, free up /tmp or specify MEGA_TMP with --local-tmpdir. Login timeouts require adjusting megacmd config at ~/.megaCmd/mega-cmd-server.config.
Proton Drive (community CLI)
The official CLI is in beta community wrappers exist.
Installation (community tool proton-drive-cli):
sudo apt install python3-pip pip3 install proton-drive-cli
Authenticate and upload:
proton-drive login proton-drive upload /etc configuration_backup
Issues: Two-factor once enforced may break login – use --2fa-code flag. Watch out for API rate-limits: batch uploads under 100 files.
Filen (community script)
Zero-knowledge cloud from Switzerland. No official CLI but active community.
git clone https://github.com/FilenCommunity/filen-cli.git cd filen-cli sudo bash install.sh filen-cli login filen-cli sync ./data /remote/data
Problems: Script may require nodejs v14. If upload stalls, restart with verbose flag -v.
Tresorit (tresorit-cli)
Enterprise-grade end-to-end encryption.
curl -fsSL https://apt.tresorit.com/install.sh sudo bash sudo apt install tresorit-cli
tresorit-cli login tresorit-cli list tresorit-cli sync ./project-folder MyTresor/Project
Watch out for outdated FUSE on Debian–based systems: install libfuse2. Permission denied errors often stem from missing fuse group membership.
Icedrive (alpha CLI)
Lightweight, uses Twofish encryption. CLI in alpha stage.
wget https://github.com/Icedrive/icedrive-cli/releases/download/v0.0.1/icedrive-linux-x64.tar.gz tar xzf icedrive-linux-x64.tar.gz sudo mv icedrive /usr/local/bin/ icedrive login icedrive mount ~/icedrive
Frequent issues: Alpha may crash on large transfers. Use --no-progress to reduce stdout buffering. Unmount with fusermount -u ~/icedrive.
Dropbox (Dropbox-Uploader)
Unofficial, Bash-based uploader.
git clone https://github.com/andreafabrizi/Dropbox-Uploader.git cd Dropbox-Uploader ./dropbox_uploader.sh
Follow interactive OAuth. Usage:
./dropbox_uploader.sh upload /var/log/syslog syslogs/
OAuth tokens expire refresh with ./dropbox_uploader.sh unlink then login again.
Google Drive (gdrive)
Unofficial Go-based CLI.
wget -O gdrive https://github.com/prasmussen/gdrive/releases/download/2.1.0/gdrive-linux-x64 chmod x gdrive sudo mv gdrive /usr/local/bin/ gdrive about
First run opens browser for OAuth. Common error “cannot find token” means ~/.gdrive is unreadable.
OneDrive (onedrive client)
Community client with sync support.
sudo apt install onedrive onedrive
Follow URL to authorize. Sync command:
onedrive --synchronize --verbose
Rate-limit errors can be mitigated by adding --resync every 24 hours in a cron job.
Conclusion
For security-focused SELKS deployments requiring stable CLI tools, pCloud and MEGA are top picks. If zero-knowledge is non-negotiable, weigh in Tresorit or Proton Drive. When wider ecosystem integration matters, Google Drive and Dropbox remain viable. Always test CLI clients in a staging environment to iron out FUSE, API, and OAuth quirks before rolling out automated backups in production.
Be the first to leave a comment