66
VPS encryption (lemmy.world)
submitted 1 month ago by ouch@lemmy.world to c/linux@lemmy.ml

How would you protect files of a VPS (Virtual Private Server) from snooping by the service provider?

you are viewing a single comment's thread
view the rest of the comments
[-] ouch@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

Thanks for the comments. I agree on the general consensus, that once an encryption key enters the VPS, the encryption is compromised.

However, I'm thinking more in practical terms, eg. the service provider doing just casual scanning across all disks of VPS instances. Some examples could be: cloud authentication keys, torrc files, specific installed software, SSH private keys, TLS certificates.

[-] Lemmchen@feddit.org 5 points 1 month ago* (last edited 1 month ago)

Modern CPUs have some RAM encryption features, but ultimately you're running on hardware outside your control. Personally, I use full disk encryption (except for /boot) and unlock remotely via SSH, but that only helps against automatic scanning of the storage.

[-] ouch@lemmy.world 1 points 1 month ago

Do you use dropbear and manually input the password to unlock the LUKS partition, or have you scripted something to automate that?

[-] Lemmchen@feddit.org 2 points 1 month ago* (last edited 1 month ago)

Dropbear + manual input, but I guess you could do that as a single command somehow. I rarely restart this machine, so copying the PW from my PW manager is acceptable for me.

this post was submitted on 15 Sep 2024
66 points (97.1% liked)

Linux

48048 readers
764 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS